POST api/Weigh/ShiftClosing

Request Information

URI Parameters

None.

Body Parameters

ShiftClosingData
NameDescriptionTypeAdditional information
apikey

string

None.

branchid

integer

None.

machineID

integer

None.

voiceNoteReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "apikey": "sample string 1",
  "branchid": 2,
  "machineID": 3,
  "voiceNoteReference": "sample string 4"
}

application/xml, text/xml

Sample:
<WeighController.ShiftClosingData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cenmark.WebApi.Controllers">
  <apikey>sample string 1</apikey>
  <branchid>2</branchid>
  <machineID>3</machineID>
  <voiceNoteReference>sample string 4</voiceNoteReference>
</WeighController.ShiftClosingData>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.