|
Navigation: Reference Manual > Vendors > End Points > CreateVendorAddress |
Send comments on this topic. |
Description
Adds a new vendor address to a vendor record, essentially augmenting an existing vendor record with a vendor address.
Rules
1.The vendor record must already exist in PRISM
2.If "Required" field fails validation an error will be returned and record IS NOT saved
3.If "Optional" field fails validation a warning will be returned and record IS saved, but the field value is not saved
Notes: See CreateVendor to create a vendor
Parameters
|
# |
API Field Name |
PRISM Field (Max size) |
Req? |
Comment |
|
1 |
UserID |
Authentication |
Y |
PRISM user account with security actions to use API |
|
2 |
Password |
Authentication |
Y |
Account Password |
|
3 |
PRISMKey |
Authentication |
Y |
Provided by PRISM Professionals |
|
4 |
TaxID |
TaxID (20) |
Y |
|
|
5 |
AddressType |
Address Type |
Y |
'Primary' | 'Secondary' | 'Other' |
|
6 |
Address 1 |
Address 1 (100) |
Y |
|
|
7 |
Address 2 |
Address 2 |
N |
|
|
8 |
District |
District |
N |
|
|
9 |
County |
County |
N |
Must match a configured PRISM value |
|
10 |
City |
Doing Business As |
Y |
|
|
11 |
State |
State (2) Abbreviated State |
Y |
Must match a configured PRISM value |
|
12 |
Zip |
Zip |
Y |
|
|
13 |
Country |
Country |
N |
Empty USA is default. See Country Codes below if not USA |
|
14 |
ContactPersonFirstName |
Contact Person First Name |
N |
|
|
15 |
ContactPersonLastName |
Contact Person Last Name |
N |
|
|
16 |
ContactPersonEmail |
Contact Person Email |
N |
|
|
17 |
ContactPerson1Phone |
Contact Person 1 Phone |
N |
|
|
18 |
SiteID |
Site ID |
N | Y |
Required if using 'Other' AddressType. ID must uniquely identify the address |
Return Values
|
# |
Name |
Type |
Comment |
|
1 |
OperationStatus |
Boolean |
|
|
2 |
Message |
String |
|
|
3 |
ID |
String |
PRISM Internal Vendor GUID |
Country Codes
The United States (USA) is the default country code when adding addresses. There is no need to use USA as the country code. However, when using Canadian addresses, the country code “CAN”. Furthermore use the state code (column1) below for the State field in PRISM.
.gif)
|
|
PRISM Compliance Management - Copyright © 2018 |