List custom fields configured for this work order, including values and visibility.
List custom fields configured for this work order, including values and visibility.
access_token OAuth 2.0 Access Token
In: query
Work Order ID
curl -X GET "https://api-sandbox.fndev.net/api/rest/v2/workorders/0/custom_fields"{
"actions": [],
"internal": {
"id": 0,
"name": "",
"value": "",
"role": ""
},
"metadata": {
"total": 3,
"pages": 1,
"per_page": 3,
"page": 1
},
"results": [
{
"id": 1,
"name": "General",
"order": 1,
"role": "buyer",
"metadata": {
"total": 23,
"page": 1,
"pages": 1,
"per_page": 23
},
"results": [
{
"id": 355,
"name": "Client PO #",
"tip": "",
"type": "text",
"role": "buyer",
"dependency": {
"id": 0,
"value": "",
"operator": "equals"
},
"used_in_finance": false,
"options": [],
"flags": [],
"value": "",
"category": "General",
"order": 2,
"actions": [
"edit"
]
}
]
}
],
"correlation_id": "c0f2ad2051f3b30a4fdc750857b17b249aa5302a"
}{
"status": 400,
"message": "Validation failed: field 'title' is required"
}{
"status": 500,
"message": "Operation successful."
}{
"status": 403,
"message": "You do not have permission to access this work order"
}{
"status_code": 404,
"message": "Work order not found"
}{
"status": 500,
"message": "An unexpected error occurred. Please try again later or contact support."
}application/json
application/json
application/json
application/json
application/json
application/json
Last updated on