Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource: Custom Field Type ( /api/customfieldtype/{name} )

Custom field type resource

This resource supports the following methods: GET

Methods

GET


Retrieves a custom field type by its name.

Status Codes

These are the expected status codes returned by the service - in addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).

StatusDescription
200 - OKReturned if the request was completed successfully.
404 - NotFoundReturned if the custom field type does not exist.

Example - Get custom field type

Example of fetching all custom field types.

Request Headers

KeyValueDescription
Acceptapplication/json

Request Parameters

KeyValueDescription
{name}TextThe name of the custom field type to retrieve.

Response Headers

KeyValueDescription
Content-Typeapplication/json; charset=utf-8

Response Body

Code Block
languagenone
{
  "Items": [
    {
      "Name": "Text",
      "DisplayName": "Text",
      "Self": "http://localhost/api/customfieldtype/text"
    }
  ]
}

Status Code

200 - OK