Custom Mappings
Update custom mapping
Update a custom mapping
patch/vault/custom-mappings/{unified_api}/{service_id}/{target_field_id}
Path parameters
unified_apistring required
Unified API
service_idstring required
Service ID of the resource to return
target_field_idstring required
ID of the target field to return as a custom mapping.
Headers
x-apideck-consumer-idstring required
ID of the consumer which you want to get or push data from
x-apideck-app-idstring required
The ID of your Unify application
Request body
Example request
{
"value": "$.root.training.first_aid"
}Response
Custom mapping updated
Example response
{
"status_code": 200,
"status": "OK",
"data": {
"id": "hris+employees+first_aid_training",
"label": "First Aid Training",
"description": "First Aid Training completed after 2019-01-01",
"value": "$.root.training.first_aid",
"key": "first_aid_training",
"custom_field": true,
"consumer_id": "test_user_id",
"example": "Some value"
}
}