Grouped Mappings admin API Resource

Object Mapping admin web services

GET /admin/autolinking

Fetch all autolinking mappings for current configuration

Response Body
media type data type description
application/json object JSON Response, example of response:

POST /admin/autolinking

Add new autolinking mapping

Example of request:

{"srcClassId":"22","dstClassId":"12","srcFieldId":"fi2space_function","dstFieldId":"fi2prop_descr"}

Request Body
media type data type
application/json object
Response Body
media type data type description
application/json object JSON Response indicating where operation was successfully or not

PUT /admin/autolinking/allobjects

Perform autoLinking for all objects

Request Parameters
name type description default constraints
unlinkSurplus query whether objects that do not match autolinking criteria shall be unlinked.   required boolean
Response Body
media type data type description
application/json object JSON response with the created links

Example of response:

{"list":[{"sourceValue":"389540","sourceClass":"128","destinationValue":"53235","destinationClass":"108","isDefault":false,"success":true}]}

DELETE /admin/autolinking/{mappingId}

Delete autolinking mapping

Request Parameters
name type description default constraints
mappingId path - current mapping id   long
Response Body
media type data type description
application/json object JSON Response indicating where operation was successfully or not