|
Navigation: Reference Manual > Vendors > End Points > CreateVendor |
Send comments on this topic. |
Description
Adds a new vendor profile to the PRISM database.
Rules
1.If the vendor does not exist it will be added. If the vendor exist an error will be thrown.
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 UpdateVendor to edit | update an existing 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 |
NotifySpecialist |
-- |
N |
Notifies the specialist of a new vendor. Default [N] |
|
5 |
TaxID |
TaxID (20) |
Y |
|
|
6 |
Name |
Company Name (100) |
Y |
|
|
7 |
VIN |
VIN |
N |
External Vendor ID |
|
8 |
Duns |
Duns |
N |
|
|
9 |
Cage |
Cage |
N |
|
|
10 |
DBA |
Doing Business As |
N |
|
|
11 |
BusinessStructure |
Business Structure |
N |
Must match a configured PRISM value |
|
12 |
PrimaryBusinessActivity |
Primary Business Activity |
N |
|
|
13 |
ProductService |
Product Service |
N |
|
|
14 |
Race |
Race |
N |
Must match a configured PRISM value |
|
15 |
Gender |
Gender |
N |
Must match a configured PRISM value |
|
16 |
Phone |
Phone |
N |
|
|
17 |
Fax |
Fax |
N |
|
|
18 |
URL |
URL |
N |
|
|
19 |
InsuranceCompany |
Insurance Company |
N |
|
|
20 |
InsuranceNumber |
Insurance Number |
N |
|
|
21 |
InsuranceExpDate |
Insurance Exp Date |
N |
mm-dd-yyyy |
|
22 |
ContactPerson1Name |
Contact Person 1 Name |
N |
|
|
23 |
ContactPerson1Phone |
Contact Person 1 Phone |
N |
|
|
24 |
ContactPerson1CellPhone |
Contact Person 1 Cell Phone |
N |
|
|
25 |
ContactPerson1Email |
Contact Person 1 Email |
N |
|
|
26 |
ContactPerson1Title |
Contact Person 1 Title |
N |
|
|
27 |
ContactPerson2Name |
Contact Person 2 Name |
N |
|
|
28 |
ContactPerson2Phone |
Contact Person 2 Phone |
N |
|
|
29 |
ContactPerson2CellPhone |
Contact Person 2 Cell Phone |
N |
|
|
30 |
ContactPerson2Email |
Contact Person 2 Cell Email |
N |
|
|
31 |
ContactPerson2Title |
Contact Person 2 Title |
N |
|
|
32 |
VIN |
VIN |
N |
External Vendor ID |
|
33 |
DUNS |
DUNS |
N |
|
|
34 |
CAGE |
CAGE |
N |
|
|
32 |
NumberofEmployees |
Total number of employees |
N |
|
Return Values
|
# |
Name |
Type |
Comment |
|
1 |
OperationStatus |
Boolean |
|
|
2 |
Message |
String |
|
|
3 |
ID |
String |
PRISM Internal Vendor GUID |
|
|
PRISM Compliance Management - Copyright © 2018 |