POST api/workshop/insert

Request Information

URI Parameters

None.

Body Parameters

InsertWorkShopRequestModel
NameDescriptionTypeAdditional information
WorkShopID

integer

None.

BranchID

integer

None.

FinancialYearID

integer

None.

WorkShopName

string

None.

Place

string

None.

Number

string

None.

AccGroupID

integer

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WorkShopID": 1,
  "BranchID": 2,
  "FinancialYearID": 3,
  "WorkShopName": "sample string 4",
  "Place": "sample string 5",
  "Number": "sample string 6",
  "AccGroupID": 7,
  "UserID": 8
}

application/xml, text/xml

Sample:
<InsertWorkShopRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <AccGroupID>7</AccGroupID>
  <BranchID>2</BranchID>
  <FinancialYearID>3</FinancialYearID>
  <Number>sample string 6</Number>
  <Place>sample string 5</Place>
  <UserID>8</UserID>
  <WorkShopID>1</WorkShopID>
  <WorkShopName>sample string 4</WorkShopName>
</InsertWorkShopRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InsertWorkShopRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.