Bulk creates object mappings
POST {{baseUrl}}/configuration-hub/object-mappings/:sourceOrg/bulk-create
This creates a set of object mappings (Max 25) between current org and source org.
Source org should be default
when creating object mappings that are not to be associated to any particular org.
The request will need the following security scope:
- sp:config-object-mapping:manage
Request Body
{"newObjectsMappings"=>[{"objectType"=>"SOURCE", "jsonPath"=>"$.name", "sourceValue"=>"Original SOURCE Name", "targetValue"=>"New SOURCE Name", "enabled"=>true}, {"objectType"=>"IDENTITY", "jsonPath"=>"$.name", "sourceValue"=>"Original IDENTITY Name", "targetValue"=>"New IDENTITY Name ", "enabled"=>true}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"addedObjects":[{"objectMappingId":"603b1a61-d03d-4ed1-864f-a508fbd1995d","objectType":"SOURCE","jsonPath":"$.name","sourceValue":"Original SOURCE Name","targetValue":"New SOURCE Name","enabled":true,"created":"2024-03-25T15:50:41.314Z","modified":"2024-03-25T15:50:41.299Z"},{"objectMappingId":"00bece34-f50d-4227-8878-76f620b5a971","objectType":"IDENTITY","jsonPath":"$.name","sourceValue":"Original IDENTITY Name","targetValue":"New IDENTITY Name ","enabled":true,"created":"2024-03-25T15:50:41.316Z","modified":"2024-03-25T15:50:41.316Z"}]}