Home → API Documentation → Miscellaneous API Calls → api/ReturnFields
11.5. api/ReturnFields
This API call retrieves active, editable field definitions for contact, company or event records. For contacts and companies, it returns standard and custom fields. For events, it returns custom fields.
Use the FieldGUID with api/UpdateField to save a value or with api/ReturnFieldOptions to retrieve available list options. Values stored against individual records are outside the scope of this call.
Parameters To Submit
All parameters are required and cannot be empty.
| Parameter | Parameter Help | Parameter Data Type |
| CallType | The record type: Contact, Company or Event. | String |
| API Key |
Return Response
This API call will return in the ResponseMessage an array of the following fields.
| Field | Field Help |
| FieldGUID | The field identifier to submit when retrieving options or updating a value. |
| FieldPage | The page name configured for the field in RubiCRM. |
| FieldName | The display name of the field. |
| FieldType | The field type. Checkbox fields are returned as Boolean. |
Example of the array contained in ResponseMessage.
[
{"FieldGUID":"UAE3AEC7","FieldPage":"Membership",
"FieldName":"Payment Type","FieldType":"Dropdown - Single Select (Short)"}
]
Field identifiers and available options depend on your CRM system.
