This Acknowledgment API allows us to capture back the ERP processing status in ServiceConfirmation in GEP SMART, that can be displayed to the user along with comments in case of failures.
URL Format: https://<Instance>/smartInterfaceAPI/api/ServiceConfirmation/ScStatus
{
"model": [
{
"key": "string",
"description": "string",
"status": "string",
"sourceSystemName": "string",
"sourceSystemValue": "string",
"lob": "string",
"errorCode": "string"
}
]
}
{
"data": {},
"statusCode": "String",
"errorDetails": [
{
"key": "string",
"errors": [
{
"errorCode": "string",
"errorDescription": "string"
}
]
}
],
"successDetails": [
{
"key": "String"
}
]
}
Success Scenario - Request
{
"model": [
{
"key": "string",
"description": "string",
"status": "string",
"sourceSystemName": "string",
"sourceSystemValue": "string",
"lob": "string",
"errorCode": "string"
}
]
}
Success Scenario - Response
{
"data": null,
"statusCode": "200",
"errorDetail": [],
"successDetails": [
{
"key": "SC-09:19-03427"
}
]
}
Error Scenario - Request
{
"model": [
{
"key": "string",
"description": "string",
"status": "string",
"sourceSystemName": "string",
"sourceSystemValue": "string",
"lob": "string",
"errorCode": "string"
}
]
}
Error Scenario - Response
{
"data": null,
"statusCode": "400",
"errorDetail": [
{
"key": "SC-07:19-02798",
"errors": [
{
"errorCode": "MandatoryField",
"errorDescription": "Invalid ServiceConfirmation number"
}
]
}
],
"successDetails": []
}
UpdateProcessedSCStatus |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1 |
No |
List of UpdateProcessedDocumentStatusModel object |
Check data type UpdateProcessedDocumentStatusModel for details |
Model |
|||||
S.No. |
Property |
Required? |
Data type |
Description |
Validations/Exceptions |
1.1 |
Status |
No |
ErrorDetail object |
Check data type ErrorDetail for details |
|
1.2 |
Key |
Yes |
String |
Key of the entity |
|
1.3 |
Description |
No |
String |
Description of the entity |
|
1.4 |
SourceSystemDetailsName |
No |
String |
Name of the entity |
|
1.5 |
SourceSystemDetailsValue |
No |
String |
Value of the entity |
|
1.6 |
Lob |
No |
String |
line-of-business |
|
1.7 |
ErrorCode |
No |
String |
Check data type Error Code |