POST api/blastinglocation/insert

Request Information

URI Parameters

None.

Body Parameters

InsertBlastingLocationRequestModel
NameDescriptionTypeAdditional information
BlastingLocationID

integer

None.

BranchID

integer

None.

LocationName

string

None.

Remarks

string

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BlastingLocationID": 1,
  "BranchID": 2,
  "LocationName": "sample string 3",
  "Remarks": "sample string 4",
  "UserID": 5
}

application/xml, text/xml

Sample:
<InsertBlastingLocationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BlastingLocationID>1</BlastingLocationID>
  <BranchID>2</BranchID>
  <LocationName>sample string 3</LocationName>
  <Remarks>sample string 4</Remarks>
  <UserID>5</UserID>
</InsertBlastingLocationRequestModel>

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 'InsertBlastingLocationRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.