Overview
Retrieve a Vendor/Supplier's information using the externalID of the vendor.
Retrieve a Vendor/Supplier's information using the externalID of the vendor.
URL Format
https://{domain}/api/rest/{clientId}/{versionNumber}/vendor/view.html?externalId={externalId}
https://{domain}/api/rest/{clientId}/{versionNumber}/vendor/view.html?externalId={externalId}
Arguments
| clientId required |
MobiWork assigned unique ID of the company |
| versionNumber required |
Version number of MobiWork API SDK release. Current version is: {0} |
| token required |
Part of URL as a request parameter and is required in every call to verify access to API calls |
| userId optional |
If provided, this User ID will be taken as a logged in user |
| externalId required |
The external identifier of the vendor to be retrieved |
Returns
|
<?xml version="1.0" encoding="UTF-8" ?> <response version="6.0.3" statusCode="1"> <ExternalId>1350</ExternalId> <VendorId>2</VendorId> <VendorName>Excide Industrial Batteries</VendorName> <LocationName></LocationName> <Address1></Address1> <Address2></Address2> <City></City> <Country></Country> <ZipCode></ZipCode> <State></State> <Phone></Phone> <Fax></Fax> <Email></Email> <TaxRegNumber></TaxRegNumber> <Website></Website> <CreditLimit>0.0</CreditLimit> <ContactName></ContactName> <ContactEmail></ContactEmail> <ContactPhone></ContactPhone> <ContactFax></ContactFax> <CustomFields> </Vendor> </response> |