POST api/ProcessInventoryBarCodes

Request Information

URI Parameters

None.

Body Parameters

InventoryProcessBarCodesRequest
NameDescriptionTypeAdditional information
BarCode

string

None.

InventoryId

integer

None.

User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "barCode": "sample string 1",
  "inventoryId": 2,
  "user": "sample string 3",
  "userId": 4,
  "validationKey": "sample string 5"
}

application/xml, text/xml

Sample:
<InventoryProcessBarCodesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request.Inventory">
  <User xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 3</User>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">4</UserId>
  <ValidationKey xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 5</ValidationKey>
  <BarCode>sample string 1</BarCode>
  <InventoryId>2</InventoryId>
</InventoryProcessBarCodesRequest>

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

Response Information

Resource Description

InventoryProcessBarCodesResponse
NameDescriptionTypeAdditional information
BarCodeType

integer

None.

Position

string

None.

SubIndex

string

None.

PositionSubIndexId

integer

None.

Reference

string

None.

Description

string

None.

ProductId

integer

None.

ProductSerializable

boolean

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "barCodeType": 1,
  "position": "sample string 2",
  "subIndex": "sample string 3",
  "positionSubIndexId": 4,
  "reference": "sample string 5",
  "description": "sample string 6",
  "productId": 7,
  "productSerializable": true,
  "resultCode": 9,
  "resultMessage": "sample string 10",
  "errorMessage": "sample string 11"
}

application/xml, text/xml

Sample:
<InventoryProcessBarCodesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Inventory">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 11</ErrorMessage>
  <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">9</ResultCode>
  <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 10</ResultMessage>
  <BarCodeType>1</BarCodeType>
  <Description>sample string 6</Description>
  <Position>sample string 2</Position>
  <PositionSubIndexId>4</PositionSubIndexId>
  <ProductId>7</ProductId>
  <ProductSerializable>true</ProductSerializable>
  <Reference>sample string 5</Reference>
  <SubIndex>sample string 3</SubIndex>
</InventoryProcessBarCodesResponse>