πCustom forms
List custom forms for the specified contact
GET https://{API_HOST}/api/v1/contact/{contact}/contact-cz-relationcurl -X GET
-H "Content-Type: application/json:Authorization: Bearer eyJhbGciOiJIUzI1NiI..." https://{API_HOST}/api/v1/contact/1/contact-cz-relation?cz_col_category_id=5Parameters
{
"data": [
{
"id": 1,
"relation_id": 1, // CzColCategory (custom field category) id
"relation_name": "Health Check",
"information": [
{
"id": 1,
"value": 70,
"col_id": 1,
"col_name": "Weight"
},
{
"id": 2,
"value": "A",
"col_id": 2,
"col_name": "Blood Type"
},
{
"id": 3,
"value": [0,1],
"col_id": 3,
"col_name": "Check Items"
}
],
"created_at": "2019-11-24 22:58:21",
"updated_at": "2019-11-24 22:58:21"
}
],
"links": {
"first": "https://firstline.localhost/api/contact/2197607/contact-cz-relation?page=1",
"last": "https://firstline.localhost/api/contact/2197607/contact-cz-relation?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://firstline.localhost/api/contact/2197607/contact-cz-relation",
"per_page": 15,
"to": 1,
"total": 1
}
}Add a custom form record for the specified contact
URL Parameters
Form Data
Response
Example
Update a custom form record for the specified contact
URL Parameters
Form Data
Cz_Col
Response
Example
Delete a custom form record for the specified contact
URL Parameters
Delete custom form records of a specified category for the specified contact
URL Parameters
Last updated