A contract is a document that provides information on services and/or product offered by a vendor or service provider. The primary elements in a contract include product or service name, descriptions, hierarchy, prices and internal codes etc.
URL Format: https://<Instance>/SmartBulkInterfaceAPI/api/Contract/ContractDetails
Success Scenario - Request
Request below describes that this contains only the mandatory attributes:
Success Scenario – Response
Error Scenario – Request
Request has a missing value of the Authorization Header which is mandatory: (401 – Unauthorized)
Error Scenario - Response
Access to interface BulkAPI is denied, Authorization Header is missing.
Data |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1 |
|
List of ContractDetails object |
Details of contract |
|
|
1.2 |
|
List of ContractLineItem object |
List of contract line items |
|
|
1.3 |
|
List of AdditionalInformationTab object |
List of additional information |
|
ContractDetails |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.1 |
|
List of DocumentStakeHolder object |
List of document stakeholder |
|
|
1.1.2 |
IsConfidential |
|
Boolean |
Is confidential |
|
1.1.3 |
InterfaceDocumentStatus |
|
String |
Status of interface document |
|
1.1.4 |
CreatedOn |
|
datetime |
Created on |
|
1.1.5 |
ContractDescription |
|
String |
Contract Description |
|
1.1.6 |
ParentContractTitle |
|
String |
Parent Contract Title |
|
1.1.7 |
|
List of DocumentBuList object |
Document Bu List |
|
|
1.1.8 |
ParentContractNumber |
|
String |
Parent Contract Number |
|
1.1.9 |
RenewalTermType |
|
String |
Renewal Term Type |
|
1.1.10 |
RenewalFrequency |
|
Int |
Renewal Frequency |
|
1.1.11 |
TerminationTypeDescription |
|
String |
Termination Type Description |
|
1.1.12 |
TerminationTerm |
|
Int |
Termination Term |
|
1.1.13 |
TerminationTermType |
|
Int |
Termination Term Type |
|
1.1.14 |
PenaltyAmount |
|
Decimal |
Penalty Amount |
|
1.1.15 |
RenewalTerm |
|
Int |
Renewal Term |
|
1.1.16 |
ErpNumber |
|
String |
Erp Number |
|
1.1.17 |
|
List of InterfaceDocumentRegion object |
Document Region List |
|
|
1.1.18 |
DocumentStatusInfo |
|
String |
Document Status Info |
|
1.1.19 |
ContractTypeDescription |
|
String |
Contract Type Description |
|
1.1.20 |
ContractDocumentTypeDescription |
|
String |
Contract Document Type Description |
|
1.1.21 |
DateEffective |
|
Datetime |
Date Effective |
|
1.1.22
|
DateExecuted |
|
Datetime |
Date Executed |
|
1.1.23 |
ExpiryDateType |
|
String |
Expiry Date Type |
|
1.1.24 |
ContractValue |
|
Decimal |
Contract Value |
|
1.1.25 |
|
List of InterfaceDocumentPas object |
Document Pas List |
|
|
1.1.26 |
ContractCurrency |
|
String |
Contract Currency |
|
1.1.27 |
Url |
|
String |
|
|
1.1.28 |
|
List of InterfacePaymentTermDetails object |
PaymentTermDetails |
|
|
1.1.29 |
ContractTerminationDate |
|
String |
Termination Date of Contract |
|
1.1.30 |
LastApprover |
|
String |
Last Approver |
|
1.1.31 |
DocumentName |
|
String |
Document Name |
|
1.1.32 |
DocumentNumber |
|
String |
Document Number |
|
1.1.33 |
|
List of LegalCompanys object |
Legal Company's |
|
|
1.1.34 |
|
List of EntityDetail object |
Entity Details |
|
DocumentStakeHolderList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.1.1 |
PartnerName |
|
String |
Name of Partner |
|
1.1.1.2 |
ContactName |
|
String |
Name of contact |
|
1.1.1.3 |
EmailId |
|
String |
Email id |
|
1.1.1.4 |
ClientContactCode |
|
String |
Client Contact Code |
|
1.1.1.5 |
|
List of InterfaceContractAddress object |
Address |
|
|
1.1.1.6 |
ClientPartnerCode |
|
String |
Client Partner Code |
|
1.1.1.7 |
PartnerTypeName |
|
String |
Partner Type Name |
|
1.1.1.8 |
|
List of InterfaceDocumentAddressDetails object |
Document Address Details List |
|
Address |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.5.1 |
AddressCode |
|
Long |
Address Code |
|
1.1.5.2 |
Addressline1 |
|
String |
Address line 1 |
|
1.1.5.3 |
Addressline2 |
|
String |
Address line 2 |
|
1.1.5.4 |
Addressline3 |
|
String |
Address line 3 |
|
1.1.5.5 |
City |
|
String |
City |
|
1.1.5.6 |
ZipCode |
|
String |
Zip code |
|
1.1.5.7 |
|
StateInfo |
State info |
|
|
1.1.5.8 |
|
CountryInfo |
Country info |
|
|
1.1.5.9 |
PhoneNo1 |
|
String |
Phone no 1 |
|
1.1.5.10 |
PhoneNo2 |
|
String |
Phone no 2 |
|
StateInfo |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.5.7.1 |
StateAbbrevationCode |
|
String |
State Abbreviation Code |
|
CountryInfo |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.5.8.1 |
CountryCode |
|
String |
Country Code |
|
1.1.5.8.2 |
CountryName |
|
String |
Country Name |
|
DocumentAddressDetails |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.8.1 |
ClientLocationCode |
|
String |
Client Location Code |
|
DocumentBuList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.7.1 |
BusinessUnitCode |
|
String |
Business Unit Code |
|
1.1.7.2 |
BusinessUnitName |
|
String |
Business Unit Name |
|
DocumentRegionList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.17.1 |
RegionCode |
|
Long |
Region Code |
|
1.1.17.2 |
RegionName |
|
String |
Region Name |
|
1.1.17.3 |
IsSelected |
|
Boolean |
Is Selected |
|
1.1.17.4 |
IsSingleNode |
|
Boolean |
Is Single Node |
|
DocumentPasList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.25.1 |
PasName |
|
String |
Pas Name |
|
1.1.25.2 |
ClientPASCode |
|
String |
Client PAS Code |
|
PaymentTermDetails |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.28.1 |
NoOfDays |
|
Int |
No Of Days |
|
1.1.28.2 |
Discount |
|
Decimal |
Discount |
|
1.1.28.3 |
DiscountDays |
|
Int |
Discount Days |
|
1.1.28.4 |
PaymentTermCode |
|
String |
Payment Term Code |
|
LegalCompanys |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.33.1 |
LegalCompanyName |
|
String |
Legal Company Name |
|
1.1.33.2 |
PartnerTypeName |
|
String |
Partner Type Name |
|
EntityDetails |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1.34.1 |
EntityCode |
|
String |
|
|
1.1.34.2 |
EntityType |
|
String |
|
|
1.1.34.3 |
Lob |
|
String |
|
|
ContractLineItemList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.2.1 |
IsTaxExempt |
|
String |
|
|
1.2.2 |
ClientPasCode |
|
String |
|
|
1.2.3 |
CatalogName |
|
String |
|
|
1.2.4 |
Gtin |
|
String |
|
|
1.2.5 |
ManufacturerItemNumber |
|
String |
|
|
1.2.6 |
PartnerItemNumber |
|
String |
|
|
1.2.7 |
ManufacturerName |
|
String |
|
|
1.2.8 |
ItemAbbrevationCode |
|
String |
|
|
1.2.9 |
ItemType |
|
String |
|
|
1.2.10 |
UnspscId |
|
Long |
|
|
1.2.11 |
LineItemNo |
|
Long |
|
|
1.2.12 |
Quantity |
|
Decimal |
|
|
1.2.13 |
TaxAmount |
|
Decimal |
|
|
1.2.14 |
UnitPrice |
|
Decimal |
|
|
1.2.15 |
UomCode |
|
String |
|
|
1.2.16 |
PasCode |
|
Long |
|
|
1.2.17 |
ItemDescription |
|
String |
|
|
1.2.18 |
ItemName |
|
String |
|
|
1.2.19 |
ItemCode |
|
Long |
|
|
1.2.20 |
ItemId |
|
Long |
|
|
1.2.21 |
EndDate |
|
DateTime |
|
|
1.2.22 |
StartDate |
|
DateTime |
|
|
1.2.23 |
TotalPrice |
|
Decimal |
|
|
1.2.24 |
LineItemStatus |
|
String |
|
|
AdditionalInformationTabList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.1 |
TabName |
|
String |
|
|
1.3.2 |
|
List of AdditionalInformationSection object |
|
|
AdditionalInformationSectionList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.2.1 |
SectionName |
|
String |
|
|
1.3.2.2 |
|
List of AdditionalInformationQuestions object |
|
|
AdditionalInformationQuestionsList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.2.2.1 |
QuestionText |
|
String |
|
|
1.3.2.2.2 |
|
List of AdditionalInformationQuestionsResponse object |
|
|
QuestionsResponseList |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.2.2.2.1 |
IsChildQuestionPresent |
|
Boolean |
|
|
1.3.2.2.2.2 |
|
List of AdditionalInformationQuestions object |
|
|