Topics: |
Use the following REST call to create a new mapping.
Topics: |
Parameters (body): Mapping Entity
Content type: application/json
Do not include the ID in the mapping entity when creating a new mapping. A unique ID will be generated.
POST https://localhost:9500/api/v1/sourcesystem/integration/mapping/create
Content-Type: application/json
{ "description": "SELECT CUSTID, FNAME, MNAME, LNAME FROM CUSTOMER;", "integrationPointId": "6cb6d742-3f23-4095-a9d1-deaeb88edeaf", "name": "Acme Customer", "targetIdsId": "36de029d-5baa-4f4a-8252-8d1c5c8c2b78", "version": "1.0.0" }
-- response --
{ "status": "CREATED", "code": 0, "message": null, "developerMessage": null, "responseType": "com.ibi.omni.controller.services.sourcesystem.MappingDto", "response": { "id": "4ca397e9-7c39-432f-abe7-c150f193e11b”, "name": "Acme Customer", "version": "1.0.0", "targetIdsId": "36de029d-5baa-4f4a-8252-8d1c5c8c2b78", "integrationPointId": "6cb6d742-3f23-4095-a9d1-deaeb88edeaf", "description": "SELECT CUSTID, FNAME, MNAME, LNAME FROM CUSTOMER;" }, "exception": null }