This POST API can be used to save the Code Combination Codes received from the ERP to GEP Quantum
URL Format: https://<instance>.gep.com/leo-codecombinationservice-api/api/ComboListManager/SaveCodeCombos
{
  "listName": "string",
  "buyerPartnerCode": "string",
  "orderedFieldNames": [
    "string"
  ],
  "fieldValues": [
    [
      "string"
    ]
  ],
  "combinationsToDelete": [
    [
      "string"
    ]
  ]
}
{
  "totalRecords": 0,
  "successCount": 0,
  "errorCount": 0,
  "errorDetails": [
    {
      "key": "string",
      " key ": "string",
      " key ": "string"
    }
  ],
  "successDetails": [
    {
      " key ": "string",
      " key ": "string",
      " key ": "string"
    }
  ]
}
Request  | ||||
Property  | Required?  | Data type  | Description  | Validations / Exceptions  | 
listName  | Yes  | String  | List Name key from the configuration of Combination Code in GEP Quantum  | listName is mandatory  | 
buyerPartnerCode  | Yes  | String  | Domain Code for the Client  | buyerPartnerCode is mandatory  | 
orderedFieldNames  | Yes  | String  | Comma Separated Code Combination Entity Names  | Invalid orderedFieldNames  | 
fieldValues  | Conditional  | Array of String  | Comma Separated Code Combination Entity Values to be added  | One of fieldValues or combinationsToDelete is mandatory  | 
combinationsToDelete  | Conditional  | Array String  | Comma Separated Code Combination Entity Values to be deleted  | One of fieldValues or combinationsToDelete is mandatory  | 
 
Response  | ||||
Property  | Required?  | Data type  | Description  | Validations / Exceptions  | 
totalRecords  | Integer  | Total Records processed  | ||
successCount  | Integer  | Count of success records  | ||
errorCount  | Integer  | Count of error records  | ||
errorDetails  | List of errorDetails object  | Failed Records  | ||
successDetails  | List of successDetail object  | Successfully Processed records  | ||
 
successDetails  | ||||
Property  | Required?  | Data type  | Description  | Validations / Exceptions  | 
key  | String  | Comma Separated Combination Codes  | ||
 
errorDetails  | ||||
Property  | Required?  | Data type  | Description  | Validations / Exceptions  | 
key  | String  | Comma Separated Combination Codes  | ||