POST salesorder/vrd?customerNumber={customerNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerNumber

string

None.

Body Parameters

VRDRequest
NameDescriptionTypeAdditional information
CustomerNumber

string

None.

BusinessUnit

string

Required

ItemNumbers

Collection of string

Required

Request Formats

application/json, text/json

Sample:
{
  "CustomerNumber": "sample string 1",
  "BusinessUnit": "sample string 2",
  "ItemNumbers": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<VRDRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CustomerNumber>sample string 1</CustomerNumber>
  <BusinessUnit>sample string 2</BusinessUnit>
  <ItemNumbers>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </ItemNumbers>
</VRDRequest>

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

Response Information

Resource Description

VRDResponse
NameDescriptionTypeAdditional information
VRDItems

Collection of VRDItem

None.

Response Formats

application/json, text/json

Sample:
{
  "VRDItems": [
    {
      "ID": "sample string 1",
      "FieldDescription": "sample string 2",
      "FieldLength": 3,
      "Required": true,
      "FieldType": "sample string 5",
      "ComboBoxItems": [
        {
          "Value": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Value": "sample string 1",
          "Text": "sample string 2"
        }
      ]
    },
    {
      "ID": "sample string 1",
      "FieldDescription": "sample string 2",
      "FieldLength": 3,
      "Required": true,
      "FieldType": "sample string 5",
      "ComboBoxItems": [
        {
          "Value": "sample string 1",
          "Text": "sample string 2"
        },
        {
          "Value": "sample string 1",
          "Text": "sample string 2"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<VRDResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <VRDItems>
    <VRDItem>
      <ID>sample string 1</ID>
      <FieldDescription>sample string 2</FieldDescription>
      <FieldLength>3</FieldLength>
      <Required>true</Required>
      <FieldType>sample string 5</FieldType>
      <ComboBoxItems>
        <ComboBoxItem>
          <Value>sample string 1</Value>
          <Text>sample string 2</Text>
        </ComboBoxItem>
        <ComboBoxItem>
          <Value>sample string 1</Value>
          <Text>sample string 2</Text>
        </ComboBoxItem>
      </ComboBoxItems>
    </VRDItem>
    <VRDItem>
      <ID>sample string 1</ID>
      <FieldDescription>sample string 2</FieldDescription>
      <FieldLength>3</FieldLength>
      <Required>true</Required>
      <FieldType>sample string 5</FieldType>
      <ComboBoxItems>
        <ComboBoxItem>
          <Value>sample string 1</Value>
          <Text>sample string 2</Text>
        </ComboBoxItem>
        <ComboBoxItem>
          <Value>sample string 1</Value>
          <Text>sample string 2</Text>
        </ComboBoxItem>
      </ComboBoxItems>
    </VRDItem>
  </VRDItems>
</VRDResponse>