POST api/Weigh/SaveBatch

Request Information

URI Parameters

None.

Body Parameters

GetBatchInputs
NameDescriptionTypeAdditional information
MachineID

string

None.

Shift

string

None.

ProdID

string

None.

UserID

string

None.

branchID

integer

None.

firmID

integer

None.

apiKey

string

None.

voiceNoteReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MachineID": "sample string 1",
  "Shift": "sample string 2",
  "ProdID": "sample string 3",
  "UserID": "sample string 4",
  "branchID": 5,
  "firmID": 6,
  "apiKey": "sample string 7",
  "voiceNoteReference": "sample string 8"
}

application/xml, text/xml

Sample:
<WeighController.GetBatchInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cenmark.WebApi.Controllers">
  <MachineID>sample string 1</MachineID>
  <ProdID>sample string 3</ProdID>
  <Shift>sample string 2</Shift>
  <UserID>sample string 4</UserID>
  <apiKey>sample string 7</apiKey>
  <branchID>5</branchID>
  <firmID>6</firmID>
  <voiceNoteReference>sample string 8</voiceNoteReference>
</WeighController.GetBatchInputs>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>