Use this JSON call to retrieve the structure of a list's custom fields. This includes the data types, whether the fields are required, default values and any of the custom field structure's settings.
XML Request Example:
"json_request" element
Field Name | Description |
username | Username used to login to Pinpointe |
usertoken | Unique token assigned to Pinpointe account |
requesttype | Lists |
requestmethod | GetCustomFields |
Please note: ALL OPTIONAL elements that are not used should be deleted from submitted call. For example, if only one "list" element is specified, any unused "list" elements should be deleted.
"details" element
Field Name | Description |
list (Required) | ID number of the list from which to retrieve custom field data |
list (optional) | ID of optional additional lists from which to retrieve custom field data |
Successful Response:
"response" element
Field Name | Description |
status | Will return SUCCESS if one or more custom fields are found |
"data"
"item" element
Field Name | Description |
fieldid | ID number of custom field |
name | Name of custom field |
fieldtype | Data type of field |
defaultvalue | The default value will be included here if one is set |
required | Returns 1 if this field is required, 0 if not |
fieldsettings | Serialized version of the custom field's settings |
Please note: If multiple list ids are specified, the resultant list of returned custom fields will not be identified as to which list they belong.
Unsuccessful Response:
"response" element
Field Name | Description |
status | Will return FAILED if unsuccessful |
errormessage | Text explaining why request failed |