patch_data_requests
PATCH /data_requests/:data_subject/:feedback_id
Updates segments for the provided feedback and the provided data subject
Possible data_subject values
- contractor
- customer
- employee
- other
- prospect
- suppliers
- to_be_defined
- trainee
- visitor
PATCH /api/v1/data_requests/:data_subject/:feedback_id
{
"data": {
"type": "data_requests",
"attributes": {
"segments": {
"contact_first_name": "xxx",
"contact_last_name": "xxx"
},
"phone_number": "33606060606"
}
}
}
attributes
| attribute | description |
|---|---|
| segments hash { string: string|array[string] } | new data for segments of the provided data_subject |
| email string | optional |
| phone_number string | optional |