POST api/UpdateProductPosition

Request Information

URI Parameters

None.

Body Parameters

UpdateProductPositionRequest
NameDescriptionTypeAdditional information
barcode

string

None.

position

string

None.

Request Formats

application/json, text/json

Sample:
{
  "barcode": "sample string 1",
  "position": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateProductPositionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request.Product">
  <barcode>sample string 1</barcode>
  <position>sample string 2</position>
</UpdateProductPositionRequest>

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

Response Information

Resource Description

UpdateProductPositionResponse
NameDescriptionTypeAdditional information
ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<UpdateProductPositionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Product">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 3</ErrorMessage>
  <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</ResultCode>
  <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</ResultMessage>
</UpdateProductPositionResponse>