POST api/extra/contagemProduto

Request Information

URI Parameters

None.

Body Parameters

ContagemProdutoDTO
NameDescriptionTypeAdditional information
InventoryCode

string

None.

WarehouseCode

string

None.

ProductCode

string

None.

Quantity

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "inventoryCode": "sample string 1",
  "warehouseCode": "sample string 2",
  "productCode": "sample string 3",
  "quantity": 4.1
}

application/xml, text/xml

Sample:
<ContagemProdutoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Extra.Collectors.Storage">
  <InventoryCode>sample string 1</InventoryCode>
  <ProductCode>sample string 3</ProductCode>
  <Quantity>4.1</Quantity>
  <WarehouseCode>sample string 2</WarehouseCode>
</ContagemProdutoDTO>

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

Response Information

Resource Description

ProcessDone
NameDescriptionTypeAdditional information
DoneOK

boolean

None.

Finished

boolean

None.

Message

string

None.

Id

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "doneOK": true,
  "finished": true,
  "message": "sample string 3",
  "id": "sample string 4",
  "data": {}
}

application/xml, text/xml

Sample:
<ProcessDone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common">
  <Data />
  <DoneOK>true</DoneOK>
  <Finished>true</Finished>
  <Id>sample string 4</Id>
  <Message>sample string 3</Message>
</ProcessDone>