GET Get-Vendor

Purpose
Users may send a vendor key through this call to receive a JSON object of that master vendor's in system data.
Return Information
Variable Name Type Purpose
VendorKey Char Var The unique ID used to identify the Vendor through the API.
CompCode Char Var An abbreviated form of the vendor's name.
Name Char Var The vendor company's name.
Address1 Char Var The mailing address of the vendor.
Address2 Char Var Additional information on the address, such as PO box # or suite #.
City Char Var vendor's City.
State Char Var vendor's State, in two character format.
ZipCode Char Var The vendor's zipcode, supports non-American zipcode formats.
Country Char Var The vendor's country.
Phone Char Var vendor's point of contact phone number.
Fax Char Var vendor's fax number.
Email Char Var vendor's primary point of contact email address.
MCNumber Char Var vendor's Motor Carrier Number.
DOTNumber Char Var vendor's Department of Transportation Number.
Expected Return
An echo JSON object with the above fields.
Example cURL Call
curl -H 'Auth-FactorId: FACTORID’ -H 'Auth-SystemKey: SYSTEMKEY’ -H 'Auth-ApiKey: APIKEY’ https://wstest.factorcloud.com/api_factor/get-vendor/?vendorkey=EXAMPLE_VENDOR_KEY

Example Path
{
   https://wstest.factorcloud.com/api_factor/get-vendor/
}
Example Return
{"VendorKey":"TV3","CompCode":"VTM","Name":"Vendor Test M", "Address1":"","Address2":"","City":"","State":"","ZipCode":"","Country":"", "Phone":"","Fax":"","Email":"","MCNumber":"","DOTNumber":""}