POST api/Barcode/ApplyAction

Makes a note of an action for a particular barcode, i.e. Print label, Flag for order, stock inward.

Request Information

URI Parameters

None.

Body Parameters

EskimoClassLibraries.clsBarcodeAction
NameDescriptionTypeAdditional information
BarcodeScanned

The barcode scanned

string

Required

Qty

The action quantity

integer

Required

ActionType

The type of action to be performed

EskimoClassLibraries.clsBarcodeAction+BarcodeActionTypeEnum

Required

OperatorID

The ID of the operator using the handheld device.

string

None.

Notes

Any important notes about the action

string

None.

ProductDescription

If the product was 'not on file' then the description must be included so that the product can be added later.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BarcodeScanned": "sample string 1",
  "Qty": 2,
  "ActionType": 0,
  "OperatorID": "sample string 3",
  "Notes": "sample string 4",
  "ProductDescription": "sample string 5"
}

application/xml, text/xml

Sample:
<clsBarcodeAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <ActionType>FlagForOrder</ActionType>
  <BarcodeScanned>sample string 1</BarcodeScanned>
  <Notes>sample string 4</Notes>
  <OperatorID>sample string 3</OperatorID>
  <ProductDescription>sample string 5</ProductDescription>
  <Qty>2</Qty>
</clsBarcodeAction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.