POST api/Customer/AddVmiItems

Request Information

URI Parameters

None.

Body Parameters

AddVmiRequest
NameDescriptionTypeAdditional information
CustomerNumber

string

None.

AdrsCode

string

None.

RepId

string

None.

Lines

Collection of AddVmiLine

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerNumber": "sample string 1",
  "AdrsCode": "sample string 2",
  "RepId": "sample string 3",
  "Lines": [
    {
      "ItemNmbr": "sample string 1",
      "CustOnHand": 2.0,
      "MinQty": 3.0,
      "MaxQty": 4.0
    },
    {
      "ItemNmbr": "sample string 1",
      "CustOnHand": 2.0,
      "MinQty": 3.0,
      "MaxQty": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<AddVmiRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <AdrsCode>sample string 2</AdrsCode>
  <CustomerNumber>sample string 1</CustomerNumber>
  <Lines>
    <AddVmiLine>
      <CustOnHand>2</CustOnHand>
      <ItemNmbr>sample string 1</ItemNmbr>
      <MaxQty>4</MaxQty>
      <MinQty>3</MinQty>
    </AddVmiLine>
    <AddVmiLine>
      <CustOnHand>2</CustOnHand>
      <ItemNmbr>sample string 1</ItemNmbr>
      <MaxQty>4</MaxQty>
      <MinQty>3</MinQty>
    </AddVmiLine>
  </Lines>
  <RepId>sample string 3</RepId>
</AddVmiRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>