This POST API can be used to capture new additions in contact details from ERP into GEP SMART, that can be used as a reference in P2P transactions.
URL Format: https://<Instance>/SmartInterfaceAPI/api/Contact/ContactDetails
Following are the examples of CurrencyCode:
USD
EUR
GBP
ADF
ADP
AED
AFA
Note: The Valid source of the CurrencyCode has to be GEP SMART CurrencyMaster only.
Success Scenario - Request
Below request only contains the mandatory attribute(s):
Success Scenario - Response
Error Scenario 1 - Request
Below request contains a missing value of a mandatory attribute - UserName:
Error Scenario 1 - Response
Error Scenario 2 - Request
Below request contains a missing value of an optional attribute - RegionName:
Error Scenario 2 - Response
Buyer Contact |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1 |
ContactCode |
Yes |
String |
Contact Code |
|
1.2 |
UserName |
Yes |
String |
User Name of entity |
|
1.3 |
FirstName |
Yes |
String |
First Name of the entity |
|
1.4 |
LastName |
Yes |
String |
Last Name of the entity |
|
1.5 |
EmailAddress |
Yes |
String |
Email Address of the entity |
|
1.6 |
No |
List of Address object |
Check Data Type Address for details |
Address is Mandatory. [This would only be applicable only in a new user creation] |
|
1.7 |
AuthorityAmt |
No |
Decimal |
Authority Amount of the entity |
|
1.8 |
IsActive |
No |
Boolean |
|
|
1.9 |
IsDeleted |
No |
Boolean |
Status of the entity if they are to be visible or not on the application. |
|
1.10 |
No |
List of Activity object |
Check Data Type Activity for details |
|
|
1.11 |
TimeZone |
No |
String |
Time Zone of the entity |
|
1.12 |
LocationCode |
No |
String |
Location Code of the entity |
|
1.13 |
CurrencyCode |
No |
String |
Currency Code of the entity |
|
UserProfileCurrencyCode | No | String | Currency Code of the User’s Profile |
|
|
1.14 |
Designation |
No |
String |
Designation of the entity |
|
1.15 |
CommitmentAmount |
No |
Decimal |
Commitment Amount of the entity |
|
1.16 |
No |
List of OrgEntity object |
Check Data Type OrgEntity for details |
|
|
1.17 |
No |
List of OrgEntity object |
Check Data Type OrgEntity for details |
|
|
1.18 |
No |
List of ContactOrgDetails object |
Check Data Type ContactDetails for details |
|
|
1.19 |
No |
List of PAS object |
Check Data Type PAS for details |
|
|
1.20 |
No |
List of Regions object |
Check Data Type Regions for details |
|
|
1.21 |
LastLoginDate |
No |
DateTime |
|
|
1.22 |
No |
List of PersonaAndRoles object |
Check Data Type PersonaAndDetails for details |
|
|
1.23 |
No |
List of CustomField object |
Check Data Type CustomField for details |
|
|
1.24 |
SSOType |
No |
Int |
SSO Type |
|
1.25 |
CultureCode |
No |
String |
Culture Code |
|
1.26 |
AuthorizeAmountForProject |
No |
Decimal |
Authorize Amount for Project |
|
1.27 |
SecondaryAuthorizeAmount |
No |
Decimal |
Secondary Authorize Amount |
|
1.28 |
SecondaryAuthorizeAmountForContract |
No |
Decimal |
Secondary Authorize Amount for Contract |
|
1.29 |
AmendmentAuthorizeAmountForContract |
No |
Decimal |
Amendment Authorize Amount for Contract |
|
1.30 |
WorkGroup |
No |
String |
Work Group of the entity |
|
1.31 |
No |
List of ContactManager object |
Check Data Type ContactManager for details |
|
|
1.32 |
GEPContactCode |
No |
Long |
GEP Contact Code of the entity
This field is only available on Outbound and not on Inbound |
|
1.33 |
ManagerCode |
No |
List of String |
Manager Code |
|
Address |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.6.1 |
AddressLine1 |
Yes |
String (500) |
Address line 1 of the entity |
|
1.6.2 |
City |
Yes |
String (50) |
City of the entity |
|
1.6.3 |
StateCode |
Yes |
String (10) |
State code of the entity |
|
1.6.4 |
CountryCode |
Yes |
String (2) |
Country code of the entity |
|
1.6.5 |
ZipCode |
Yes |
String (10) |
Zip code of the entity |
|
1.6.6 |
AddressLine2 |
No |
String |
Address line 2 of the entity |
|
1.6.7 |
AddressLine3 |
No |
String (100) |
Address line 3 of the entity |
|
1.6.8 |
StateOther |
No |
String |
State name (in case of others) of the entity |
|
1.6.9 |
FaxNo |
No |
String (20) |
Fax number of the entity |
|
1.6.10 |
PhoneNo |
No |
String |
Phone number of the entity |
|
1.6.11 |
PhoneOther |
No |
String (20) |
Phone 2 of the entity |
|
1.6.12 |
PhoneExtension |
No |
String |
Phone extension of the entity |
|
1.6.13 |
PhoneOtherExtension |
No |
String |
Phone 2’s extension of the entity |
|
1.6.14 |
County |
No |
String (50) |
County of the address |
|
1.6.15 |
PoBoxNumber |
No |
String |
|
|
UserActivities |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations / Exceptions |
1.10.1 |
ActivityName |
No |
Activities Enum |
One of the following values will be provided in this field; “NONE”, “ADMINISTRATION”, “HOME”, “VIEW_GEPICENTER etc.
|
|
OrgEntities |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.16.1 |
EntityCode |
No |
String |
Entity Code of entity |
|
1.16.2 |
IsDefault |
No |
Boolean |
Status of the entity if this is default or not |
|
1.16.3 |
EntityType |
No |
String |
Entity Type of entity |
|
1.16.4 |
LOBEntityCode |
No |
String |
LOB Entity Code of entity |
|
AccountingEntities |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.17.1 |
EntityCode |
No |
String |
Entity Code of entity |
|
1.17.2 |
IsDefault |
No |
Boolean |
Status of the entity if this is default or not |
|
1.17.3 |
EntityType |
No |
String |
Entity Type of entity |
|
1.17.4 |
LOBEntityCode |
No |
String |
LOB Entity Code of entity |
|
ContactOrgDetails |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.18.1 |
No |
List of OrgEntity object |
Check Data Type OrgEntity for details |
|
|
1.18.2 |
No |
List of PersonaAndRoles object |
Check Data Type PersonaAndDetails for details |
|
|
1.18.3 |
LobType |
No |
String |
LOB Type of entity |
|
1.18.4 |
IsDefaultLOB |
No |
Boolean |
Status of the entity if this is default LOB or not |
|
Categories |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.19.1 |
PasCode |
No |
Long |
PAS Code of entity |
|
1.19.2 |
IsDefault |
No |
Boolean |
Status of the entity if this is default or not |
|
1.19.3 |
ClientPasCode |
No |
String |
Client Pas Code of entity |
|
1.19.4 |
IsDeleted |
No |
Boolean |
Status of the entity if they are to be visible or not on the application |
|
Regions |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.20.1 |
RegionName |
No |
String |
Region name of entity |
|
1.20.2 |
IsDefault |
No |
Boolean |
Status of the entity if this is default or not |
|
PersonaAndRoles |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.22.1 |
PersonaName |
No |
String |
Name of the entity |
|
1.22.2 |
PersonaCode |
No |
String |
Persona Code of the entity |
|
1.22.3 |
No |
List of UserActivity object |
Check data type UserActivity for details |
|
|
1.22.4 |
PersonaDescription |
No |
String |
Persona Description of entity |
|
Activities |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.22.3.1 |
Code |
No |
String |
Code of the entity |
|
1.22.3.2 |
Name |
No |
String |
Name of the entity |
|
1.22.3.3 |
Description |
No |
String |
Description of the entity |
|
CustomFields |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.23.1 |
Key |
No |
String |
Key of the entity |
|
1.23.2 |
Value |
No |
List of String |
Value of the entity |
|
1.23.3 |
No |
List of CustomField object |
Check data Type Custom fields for details |
|
ContactManagers |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.31.1 |
ManagerCode |
No |
String |
Manager Code |
Could not process the data since the user and the manager are the same |
1.31.2 |
ManagerType |
No |
String |
Manager Type |
|
Deliver To |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.31.1 |
DeliverToLocationNumber |
No |
String |
Deliver To Location Number |
|
1.31.2 |
LocationCode |
No |
String |
location code |
|
IsDeleted |
No | boolean | IsDeleted | ||
Location Data |
No | List Of Location Data | Check data type Location Data for details |
Location Data |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.31.1 |
Culture |
No |
String |
Culture Code |
Invalid Culture |
1.31.2 |
DeliverToLocationName |
No |
String |
DeliverToLocationName |
|
Field |
No | List Of Field Objects | Check data type Location Data for details |
Field |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.31.1 |
Key |
No |
String |
This key should be configured in the master table, else will get an error |
Invalid Key |
1.31.2 |
FieldValue |
No |
String |
FieldValue |
|