POST api/AdvanceInventory/GetQueryInventory

Request Information

URI Parameters

None.

Body Parameters

MBInventoryQueryModel
NameDescriptionTypeAdditional information
MA001

string

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MA001": "sample string 1",
  "Key": "sample string 2"
}

application/xml, text/xml

Sample:
<MBInventoryQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <Key>sample string 2</Key>
  <MA001>sample string 1</MA001>
</MBInventoryQueryModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MBInventoryListModel
NameDescriptionTypeAdditional information
Content

Collection of MBInventoryModel

None.

Code

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Content": [
    {
      "MB001": "sample string 1",
      "MC001": "sample string 2",
      "MC002": "sample string 3",
      "MC007": 4.0
    },
    {
      "MB001": "sample string 1",
      "MC001": "sample string 2",
      "MC002": "sample string 3",
      "MC007": 4.0
    }
  ],
  "Code": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<MBInventoryListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <Code>1</Code>
  <Message>sample string 2</Message>
  <Content>
    <MBInventoryModel>
      <MB001>sample string 1</MB001>
      <MC001>sample string 2</MC001>
      <MC002>sample string 3</MC002>
      <MC007>4</MC007>
    </MBInventoryModel>
    <MBInventoryModel>
      <MB001>sample string 1</MB001>
      <MC001>sample string 2</MC001>
      <MC002>sample string 3</MC002>
      <MC007>4</MC007>
    </MBInventoryModel>
  </Content>
</MBInventoryListModel>