Custom Mappings
Get custom mapping
Get a custom mapping
get/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
Response
Custom mapping
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"
},
"meta": {
"items_on_page": 50,
"cursors": {
"previous": "em9oby1jcm06OnBhZ2U6OjE=",
"current": "em9oby1jcm06OnBhZ2U6OjI=",
"next": "em9oby1jcm06OnBhZ2U6OjM="
},
"total_count": 1,
"warnings": [
{
"type": "downstream_request_failed",
"status_code": 429,
"operation": "getManager"
}
]
}
}