POST salesorder/vrd?customerNumber={customerNumber}
Allows consumer to know which vendor required fields are necessary to collect before order creation fields returned should be included on the salesorder/create VRDAnswers array
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerNumber |
Your Customer Number |
string |
None. |
Body Parameters
VRD Request
VRDRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerNumber |
Your customer number |
string |
None. |
BusinessUnit |
Specifies the ScanSource business unit you will be purchasing from
|
string |
Required |
ItemNumbers |
Specifies list of item numbers that will be purchased |
Collection of string |
Required |
Request Formats
application/json, text/json
{ "CustomerNumber": "sample string 1", "BusinessUnit": "sample string 2", "ItemNumbers": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
<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 not available.
Response Information
Resource Description
VRDResponse
VRDResponseName | Description | Type | Additional information |
---|---|---|---|
VRDItems |
List of VRDItems including metadata for the field |
Collection of VRDItem |
None. |
Response Formats
application/json, text/json
{ "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
<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>