Object Mapping admin web services
Fetch all autolinking mappings for current configuration
| media type | data type | description |
|---|---|---|
| application/json | AutolinkingConfiguration (JSON) | JSON Response, example of response: |
Add new autolinking mapping
Example of request:
{"srcClassId":"22","dstClassId":"12","srcFieldId":"fi2space_function","dstFieldId":"fi2prop_descr"}
| media type | data type |
|---|---|
| application/json | AutolinkingMapping (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | AutolinkingConfiguration (JSON) | JSON Response indicating where operation was successfully or not |
Perform autoLinking for all objects
| name | type | description | default | constraints |
|---|---|---|---|---|
| unlinkSurplus | query | whether objects that do not match autolinking criteria shall be unlinked. | boolean |
| media type | data type | description |
|---|---|---|
| application/json | HdcPathProcessStateTO (JSON) | JSON response with the created links
Example of response:
{"list":[{"sourceValue":"389540","sourceClass":"128","destinationValue":"53235","destinationClass":"108","isDefault":false,"success":true}]}
|
Delete autolinking mapping
| name | type | description | default | constraints |
|---|---|---|---|---|
| mappingId | path | - current mapping id | long |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessTO (JSON) | JSON Response indicating where operation was successfully or not |