UpdateProcessedPartnerStatus (PUT)

Overview

This PUT API can be used to capture updates in processed partner status details from ERP into GEP SMART, that can be used as reference in P2P transactions.

 

URL Format: https://<Instance>/SmartInterfaceAPI/api/Partner/ProcessedPartnerStatus

Request
[
 {
 "key": "String",
 "description": "String"
 }
]

 

Response
{
 "data": {},
 "statusCode": "String",
 "errorDetails": [
 {
 "key": "string",
 "errors": [
 {
 "errorCode": "string",
 "errorDescription": "string"
 }
 ]
 }
 ],
 "successDetails": [
 {
 "key": "String"
 }
 ]
}

 

Examples

Success Scenario - Request 
Request below describes that this contains only the mandatory attributes:

[
   {
      "key": "PC-2014.000008",
      "description": ""
   }
]

Success Scenario - Response 

{
   "data": null,
   "statusCode": "200",
   "errorDetails": [],
   "successDetails": []
}

Error Scenario - Request 

[
   {
      "key": "PC-2014.00000888",
      "description": ""
   }
]

Error Scenario - Response 

{
   "data": null,
   "statusCode": "400",
   "errorDetails": [
      {
         "key": "PC-2014.00000888,",
         "errors": [
            {
               "errorCode": "DataValidation",
               "errorDescription": "Invalid PartnerCode"
            }
         ]
      }
   ],
   "successDetails": []
}

 

Data Elements
 

ErrorDetail

S.No.

Property

Required?

Data type

Description

Validations/Exceptions

1

Key

No

String

 
  • Invalid Partner Code

2

Description

No

String