SaveADR (POST)

Overview

This POST API can be used to save the ADR rules received from the ERP to GEP Quantum.

URLs: 

Upload the JSON File to BLOB: 

https://<instance>.gep.com/clickservice/api/v1/ClickBlobProxy/GetFileIdFromUploadFileFromByteArray  

Submit the File ID to Bulk API Framework: 

https://<instance>.gep.com/leo-bulkprocess-api/api/BulkProcess/Upload 
 

Request
{ 
        "FileId": "aDkTfVsvvQQ6fqgeSfL7cIUYj9YHmPdCVGZNCZxlLWJJeEHn4m9e3hTTEXWz709z", 
        "TemplateId": "GenericAdrServiceJsonTemplate" 
} 
Data Elements

Property 

Required? 

Data Type 

Description 

Validations / Exceptions 

GUID 

 

GUID 

A globally unique identifier (GUID) used for tracking or identifying an entity. 

Must be a valid GUID format (e.g., xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). 

 
 
 
 
 
 


 

Request

Property

Required?

Data type

Description

Validations / Exceptions

adrSetName

 

Yes

String

Pre-configured name for the ADR Set in the configuration

AdrSetName is mandatory

referenceKey

Yes

String

Unique identifier of the request

referenceKey is mandatory

isActive

Default – false

Boolean

 

 

sources

Yes

Object

Source attributes that form the combination to populate the target

 

Target

 

Yes

Object

Target attributes that will be populated based on the Source attributes

 

 

sources

Property

Required?

Data type

Description

Validations / Exceptions

isEntity

 

Boolean

Flag to indicate whether the source is part of Org Structure Entity

 

sourceType

 

 

String

Type of Entity – Plant, ContactCode etc. Predefined in setup

 

sourceValue

 

 

String

Value of the Source

 

 

target

Property

Required?

Data type

Description

Validations / Exceptions

isEntity

 

Boolean

Flag to indicate whether the source is part of Org Structure Entity

 

targetType

 

 

String

Type of Entity – Plant, ContactCode etc. Predefined in setup

 

targetValue

 

 

String

Value of the Target