Get Custom field
This endpoint provides details of the custom field in the project.
Responses
-
Success Response
-
The client request has not been completed because it lacks valid authentication credentials for the requested resource.
-
The client does not have access rights to the content.
-
The request method is known by the server but is not supported by the target resource.
GET
/api/v1.0/fields/{field_id}
curl \
-X GET https://openapi.niftypm.com/api/v1.0/fields/{field_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"name": "string",
"description": "string",
"type": "string",
"currency": "string",
"tracking_type": "string",
"cost_per_hour": 42.0,
"associations": [
"string"
],
"hidden": [
"string"
],
"options": [
{
"id": "string",
"value": "string",
"color": "string"
}
],
"projects": [
"string"
],
"in_library": true
}
Response examples (200)
{
"id": "string",
"name": "string",
"description": "string",
"type": "string",
"currency": "string",
"tracking_type": "string",
"cost_per_hour": 42.0,
"associations": [
"string"
],
"hidden": [
"string"
],
"options": [
{
"id": "string",
"value": "string",
"color": "string"
}
],
"projects": [
"string"
],
"in_library": true
}