This POST API allows pushing RFQ posted in ERP to GEP SMART for further processing.
URL Format: https://<Instance>/SmartInterfaceAPI/api/RFX/RFXDetails
{
"eventType": "string",
"eventCurrency": "string",
"eventValue": "string",
"category": [
"string"
],
"region": [
"string"
],
"eventTemplateType": "string",
"eventTimeline": {
"response": {
"name": "string",
"startDate": "2019-12-24T09:53:39.567Z",
"endDate": "2019-12-24T09:53:39.567Z",
"visibletosupplier": true
},
"evaluation": {
"name": "string",
"startDate": "2019-12-24T09:53:39.567Z",
"endDate": "2019-12-24T09:53:39.567Z",
"visibletosupplier": true
},
"others": [
{
"name": "string",
"startDate": "2019-12-24T09:53:39.567Z",
"endDate": "2019-12-24T09:53:39.567Z",
"visibletosupplier": true
}
]
},
"suppliers": [
{
"name": "string",
"supplierContacts": [
{
"clientContactCode": "string",
"isPrimary": true,
"role": "string"
}
],
"primaryRespondant": "string",
"responseCompletionStatus": "string",
"participationStatus": "string",
"shortlistedForFeedback": true
}
],
"priceSheets": [
{
"priceSheetName": "string",
"description": "string",
"priceSheetType": "string",
"createdBy": "string",
"lastModifiedBy": "string",
"columns": [
{
"name": "string",
"type": "string",
"mandatory": true,
"visibleToSupplier": true,
"forSupplierResponse": true
}
],
"rows": [
{
"rowNumber": 0,
"data": [
{
"columnName": "string",
"columnValue": "string"
}
]
}
]
}
],
"attachments": [
{
"name": "string",
"base64Attachment": "string"
}
],
"guidelines": [
{
"guidelineName": "string",
"guidelineType": "string",
"guidelineData": "string",
"createdBy": "string",
"lastModifiedBy": "string"
}
],
"documentName": "string",
"documentNumber": "string",
"documentStatus": "string",
"documentDescription": "string",
"documentCreator": "string",
"documentBU": [
{
"entityCode": "string",
"isDefault": true,
"entityType": "string",
"lobEntityCode": "string"
}
],
"header": {
"from": {
"domain": "string",
"identity": "string"
},
"to": {
"domain": "string",
"identity": "string"
},
"sender": {
"domain": "string",
"identity": "string",
"sharedSecret": "string",
"userAgent": "string"
}
},
"operationName": "string"
}
{
"data": {},
"statusCode": "String",
"errorDetails": [
{
"key": "string",
"errors": [
{
"errorCode": "string",
"errorDescription": "string"
}
]
}
],
"successDetails":
{
"key": "String"
}
]
}
Success Scenario – Request
{
"EventType": "RFQ",
"EventValue": "10.0",
"Category": [
"44224550001846"
],
"Region": [
"UNITED STATES OF AMERICA"
],
"EventTemplateType": "AutoPublish",
"EventTimeline": {
"Response": {
"Name": "string",
"StartDate": "2019-12-03T12:34:06.813Z",
"EndDate": "2020-01-04T12:34:06.813Z",
"Visibletosupplier": true
},
"Evaluation": {
"Name": "string",
"StartDate": "2020-01-05T12:40:06.813Z",
"EndDate": "2020-01-06T12:34:06.813Z",
"Visibletosupplier": true
},
"Others": [
{
"Name": "string",
"StartDate": "2019-08-28T12:34:06.814Z",
"EndDate": "2019-08-28T12:34:06.814Z",
"Visibletosupplier": true
}
]
},
"Suppliers": [
{
"Name": "PC-2017.001307",
"SupplierContacts": [
{
"ClientContactCode": "CC-2019.015736",
"IsPrimary": true,
"Role": "stringrole"
}
]
},
{
"Name": "PC-2017.001591",
"SupplierContacts": [
{
"ClientContactCode": "CC-2017.001683",
"IsPrimary": true,
"Role": "stringrole"
}
]
},
{
"Name": "PC-2017.000040",
"SupplierContacts": [
{
"ClientContactCode": "CC-2017.000132",
"IsPrimary": true,
"Role": "stringrole"
}
]
}
],
"PriceSheets": [
{
"PriceSheetName": "Header_Note1This Blanket Purchase Order is awarded to supply Company requirements for ' through.",
"Description": "desc1",
"PriceSheetType": "Material",
"CreatedBy": "CreatedBystring",
"LastModifiedBy": "LastModifiedBystring",
"Columns": [
{
"Name": "col1",
"Type": "Text",
"Mandatory": true,
"VisibleToSupplier": true,
"ForSupplierResponse": false
},
{
"Name": "col2",
"Type": "Text",
"Mandatory": false,
"VisibleToSupplier": true,
"ForSupplierResponse": false
}
],
"Rows": [
{
"RowNumber": 1,
"Data": [
{
"ColumnName": "col1",
"ColumnValue": "11"
}
]
}
]
},
{
"PriceSheetName": "Header_Note2This Blanket Purchase Order is awarded to supply Company requirements for ' through.",
"Description": "desc2",
"PriceSheetType": "Material",
"CreatedBy": "CreatedBystring",
"LastModifiedBy": "LastModifiedBystring",
"Columns": [
{
"Name": "col1",
"Type": "Text",
"Mandatory": true,
"VisibleToSupplier": true,
"ForSupplierResponse": false
},
{
"Name": "col2",
"Type": "Numeric",
"Mandatory": false,
"VisibleToSupplier": true,
"ForSupplierResponse": false
}
],
"Rows": [
{
"RowNumber": 1,
"Data": [
{
"ColumnName": "col1",
"ColumnValue": "test"
},
{
"ColumnName": "col2",
"ColumnValue": "11"
}
]
},
{
"RowNumber": 2,
"Data": [
{
"ColumnName": "col1",
"ColumnValue": "test2"
},
{
"ColumnName": "col2",
"ColumnValue": "12"
}
]
}
]
}
],
"Attachments": [
{
"Name": "attch1.txt",
"Base64Attachment": "VGVzdEF0dGFjaG1lbnRzMQ=="
},
{
"Name": "atch2.txt",
"Base64Attachment": "VGVzdEF0dGFjaG1lbnRCb2R5Mg=="
}
],
"DocumentName": "Header_Note3This Blanket Purchase Order is awarded to supply Company requirements for ' through.",
"DocumentNumber": "OWL_001114",
"DocumentStatus": "Published",
"DocumentDescription": "Desc",
"DocumentCreator": "AscenaAdminUAT",
"DocumentBU": [
{
"EntityCode": "SAP",
"IsDefault": false,
"EntityType": "Division",
"LOBEntityCode": "SAP"
},
{
"EntityCode": "Oracle",
"IsDefault": "true",
"EntityType": "Division",
"LOBEntityCode": "Oracle"
}
],
"Header": {
"From": {
"Domain": "Ascena",
"Identity": "Ascena"
},
"To": {
"Domain": "Gep-Cumulus",
"Identity": "GEP"
},
"Sender": {
"Domain": "Ascena",
"Identity": "Ascena",
"SharedSecret": "Ascena@123",
"UserAgent": "Ascena-Suite"
}
},
"OperationName": "New"
}
Success Scenario – Response
{
"data": null,
"statusCode": "200",
"errorDetails": [],
"successDetails": [
{
"key": "OWL_001114"
}
]
}
Error Scenario – Request
{
"EventType": "RFQ",
"EventValue": "10.0",
"Category": [
"44224550001846"
],
"Region": [
"UNITED STATES OF AMERICA"
],
"EventTemplateType": "AutoPublish",
"EventTimeline": {
"Response": {
"Name": "string",
"StartDate": "2019-12-03T12:34:06.813Z",
"EndDate": "2020-01-04T12:34:06.813Z",
"Visibletosupplier": true
},
"Evaluation": {
"Name": "string",
"StartDate": "2019-12-05T12:40:06.813Z",
"EndDate": "2019-12-06T12:34:06.813Z",
"Visibletosupplier": true
},
"Others": [
{
"Name": "string",
"StartDate": "2019-08-28T12:34:06.814Z",
"EndDate": "2019-08-28T12:34:06.814Z",
"Visibletosupplier": true
}
]
},
"Suppliers": [
{
"Name": "PC-2017.001307",
"SupplierContacts": [
{
"ClientContactCode": "CC-2019.015736",
"IsPrimary": true,
"Role": "stringrole"
}
]
},
{
"Name": "PC-2017.001591",
"SupplierContacts": [
{
"ClientContactCode": "CC-2017.001683",
"IsPrimary": true,
"Role": "stringrole"
}
]
},
{
"Name": "PC-2017.000040",
"SupplierContacts": [
{
"ClientContactCode": "CC-2017.000132",
"IsPrimary": true,
"Role": "stringrole"
}
]
}
],
"PriceSheets": [
{
"PriceSheetName": "Header_Note1This Blanket Purchase Order is awarded to supply Company requirements for ' through.",
"Description": "desc1",
"PriceSheetType": "Material",
"CreatedBy": "CreatedBystring",
"LastModifiedBy": "LastModifiedBystring",
"Columns": [
{
"Name": "col1",
"Type": "Text",
"Mandatory": true,
"VisibleToSupplier": true,
"ForSupplierResponse": false
},
{
"Name": "col2",
"Type": "Text",
"Mandatory": false,
"VisibleToSupplier": true,
"ForSupplierResponse": false
}
],
"Rows": [
{
"RowNumber": 1,
"Data": [
{
"ColumnName": "col1",
"ColumnValue": "11"
}
]
}
]
},
{
"PriceSheetName": "Header_Note2This Blanket Purchase Order is awarded to supply Company requirements for ' through.",
"Description": "desc2",
"PriceSheetType": "Material",
"CreatedBy": "CreatedBystring",
"LastModifiedBy": "LastModifiedBystring",
"Columns": [
{
"Name": "col1",
"Type": "Text",
"Mandatory": true,
"VisibleToSupplier": true,
"ForSupplierResponse": false
},
{
"Name": "col2",
"Type": "Numeric",
"Mandatory": false,
"VisibleToSupplier": true,
"ForSupplierResponse": false
}
],
"Rows": [
{
"RowNumber": 1,
"Data": [
{
"ColumnName": "col1",
"ColumnValue": "test"
},
{
"ColumnName": "col2",
"ColumnValue": "11"
}
]
},
{
"RowNumber": 2,
"Data": [
{
"ColumnName": "col1",
"ColumnValue": "test2"
},
{
"ColumnName": "col2",
"ColumnValue": "12"
}
]
}
]
}
],
"Attachments": [
{
"Name": "attch1.txt",
"Base64Attachment": "VGVzdEF0dGFjaG1lbnRzMQ=="
},
{
"Name": "atch2.txt",
"Base64Attachment": "VGVzdEF0dGFjaG1lbnRCb2R5Mg=="
}
],
"DocumentName": "Header_Note3This Blanket Purchase Order is awarded to supply Company requirements for ' through.",
"DocumentNumber": "OWL_0016",
"DocumentStatus": "Published",
"DocumentDescription": "Desc",
"DocumentCreator": "AscenaAdminUAT",
"DocumentBU": [
{
"EntityCode": "SAP",
"IsDefault": false,
"EntityType": "Division",
"LOBEntityCode": "SAP"
},
{
"EntityCode": "Oracle",
"IsDefault": "true",
"EntityType": "Division",
"LOBEntityCode": "Oracle"
}
],
"Header": {
"From": {
"Domain": "Ascena",
"Identity": "Ascena"
},
"To": {
"Domain": "Gep-Cumulus",
"Identity": "GEP"
},
"Sender": {
"Domain": "Ascena",
"Identity": "Ascena",
"SharedSecret": "Ascena@123",
"UserAgent": "Ascena-Suite"
}
},
"OperationName": "New"
}
Error Scenario – Response
{
"data": null,
"statusCode": "400",
"errorDetails": [
{
"key": "OWL_0016",
"errors": [
{
"errorCode": "DataValidation",
"errorDescription": "Response timeline end date must be before Evaluation timeline end date."
}
]
}
],
"successDetails": []
}
RFX |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1 |
EventType |
Yes |
String |
Type of an event |
|
1.2 |
EventCurrency |
Yes |
String |
Currency for the event |
|
1.3 |
EventValue |
Yes |
String |
Event value |
|
1.4 |
Category |
Yes |
List of string |
Category for an event |
|
1.5 |
Region |
Yes |
List of string |
Region |
|
1.6 |
EventTemplateType |
Yes |
String |
|
|
1.7 |
Yes |
EventTimeline object |
Timelines for an event |
|
|
1.8 |
Yes |
List of Supplier object |
List of suppliers associated with an event |
|
|
1.9 |
List of PriceSheet object |
Price sheet for an event |
|
||
1.10 |
No |
List of Attachment object |
Attachment list | ||
1.11 |
No |
List of Guidelines object |
Guidelines to be followed for an event |
EventTimeline |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.7.1 |
No |
Timeline object |
Response timeline |
|
|
1.7.2 |
No |
Timeline object |
Evaluation timeline |
|
|
1.7.3 |
No |
List of Timeline object |
Response |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.7.1.1 |
Name |
Yes |
String |
Evaluation and Response name |
|
1.7.1.2 |
StartDate |
Yes |
DateTime |
Response start date |
|
1.7.1. 3 |
EndDate |
Yes |
DateTime |
Response end date |
|
1.7.1.4 |
Visibletosupplier |
No |
Boolean |
Suppliers |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1. 8.1 |
Name |
Yes |
String |
Name of the supplier |
|
1. 8.2 |
Yes |
List of SupplierContact object |
Supplier contacts |
|
|
1. 8.3 |
PrimaryRespondant |
No |
String |
||
1. 8.4 |
ResponseCompletionStatus |
No |
String |
||
1. 8.5 |
ParticipationStatus |
No |
String |
||
1. 8.6 |
ShortlistedForFeedback |
No |
Boolean |
SupplierContacts |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1. 8.2.1 |
ClientContactCode |
Yes |
String |
|
|
1. 8.2.2 |
IsPrimary |
No |
Boolean |
||
1. 8.2.3 |
Role |
No |
String |
PriceSheets |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.9.1 |
PriceSheetName |
Yes |
String |
Price sheet |
|
1.9.2 |
Description |
No |
String |
Description for price sheet |
|
1.9.3 |
PriceSheetType |
Yes |
String |
|
|
1.9.4 |
CreatedBy |
No |
String |
Creation date | |
1.9.5 |
LastModifiedBy |
No |
String |
last updated by | |
1. 9.6 |
No |
List of Columns object |
|||
1. 9.7 |
No |
List of Rows object |
Columns |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1. 9.6.1 |
Name |
Yes |
String |
|
|
1. 9.6.2 |
Type |
No |
String |
|
|
1. 9.6.3 |
Mandatory |
No |
Boolean |
||
1. 9.6.4 |
VisibleToSupplier |
No |
Boolean |
||
1. 9.6.5 |
ForSupplierResponse |
No |
Boolean |
Rows |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1. 9.7.1 |
RowNumber |
No |
Int |
|
|
1. 9.7.2 |
No |
List of lineData object |
|
Data |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1. 8.2.7.2 .1 |
ColumnName |
Yes |
String |
|
|
1. 8.2.7.2 .2 |
ColumnValue |
No |
String |
|
Attachments |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.10.1 |
Name |
No |
String |
||
1.10.2 |
Base64Attachment |
No |
String |
Guidelines |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.11.1 |
GuidelineName |
No |
String |
Name of the guideline | |
1.11.2 |
GuidelineType |
No |
String |
Type of the guideline | |
1.11.3 |
GuidelineData |
No |
String |
Information related to guideline | |
1.11.4 |
CreatedBy |
No |
String |
Creator for the guideline | |
1.11.5 |
LastModifiedBy |
No |
String |
Name of the persona who last updated the guideline |
Document |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1. 12 .1 |
DocumentName |
Yes |
String |
Name of the document |
|
1. 12 .2 |
DocumentNumber |
Yes |
String |
Number of the document |
|
1. 12 .3 |
DocumentStatus |
Yes |
String |
Status of the document |
|
1. 12 .4 |
DocumentDescription |
No |
String |
Description/ more information related to the document |
|
1. 12.5 |
DocumentCreator |
Yes |
String |
Creator of the document |
|
1. 12.6 |
Yes |
List of orgentity object |
Document business unit |
|
|
1. 12.7 |
Yes |
Header of object |
Check Header for details | ||
1. 12.8 |
OperationName |
Yes |
String |
|
DocumentBU |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1. 12.6.1 |
EntityCode |
Yes |
String |
Entity code |
|
1. 12.6.2 |
IsDefault |
No |
Boolean |
||
1. 12.6.3 |
EntityType |
Yes |
String |
Entity type |
|
1. 12.6.4 |
LOBEntityCode |
No |
String |
|
Header |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.1 |
Yes |
From object |
Check data type From for details | ||
1.3.2 |
Yes |
To object |
Check data type To for details | ||
1.3.3 |
Yes |
Sender object |
Check data type Sender for details |
From |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.1.1 |
Domain |
No |
String |
Domain of the entity | |
1.3.1.2 |
Identity |
Yes |
String |
Identity of the entity |
To |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.2.1 |
Domain |
No |
String |
Domain of the entity | |
1.3.2.2 |
Identity |
Yes |
String |
Identity of the entity |
Sender |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.3.3.1 |
Domain |
|
String |
Domain of the entity | |
1.3.3.2 |
Identity |
|
String |
Identity of the entity | |
1.3.3.3 |
SharedSecret |
|
String |
Shared Secret of the entity | |
1.3.3.4 |
UserAgent |
|
String |
User Agent of the entity |