POST api/extra/validateDeploymentItem

Request Information

URI Parameters

None.

Body Parameters

Collection of StockConfiguration
NameDescriptionTypeAdditional information
Code

string

None.

Desc

string

None.

Quantity

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "code": "sample string 1",
    "desc": "sample string 2",
    "quantity": 3.1
  },
  {
    "code": "sample string 1",
    "desc": "sample string 2",
    "quantity": 3.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfStockConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Extra.Collectors.Storage">
  <StockConfiguration>
    <Code>sample string 1</Code>
    <Desc>sample string 2</Desc>
    <Quantity>3.1</Quantity>
  </StockConfiguration>
  <StockConfiguration>
    <Code>sample string 1</Code>
    <Desc>sample string 2</Desc>
    <Quantity>3.1</Quantity>
  </StockConfiguration>
</ArrayOfStockConfiguration>

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 'List`1'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />