POST api/GetProductMiniPakBalancedByBarcode

Request Information

URI Parameters

None.

Body Parameters

GetProductMiniPakByBarcode
NameDescriptionTypeAdditional information
barcode

string

None.

client_id

integer

None.

User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<GetProductMiniPakByBarcode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request.Product">
  <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>
  <client_id>2</client_id>
</GetProductMiniPakByBarcode>

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

Response Information

Resource Description

MiniPakBalancedResponse
NameDescriptionTypeAdditional information
Balanced

boolean

None.

BalancedDate

date

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "balanced": true,
  "balancedDate": "2024-11-30T23:53:52.7438775-05:00",
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<MiniPakBalancedResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.ProductMiniPak">
  <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>
  <Balanced>true</Balanced>
  <BalancedDate>2024-11-30T23:53:52.7438775-05:00</BalancedDate>
</MiniPakBalancedResponse>