Definition
Describes the fields associated with Kulea Contact records along with its type.
REST AP URL
- Returns all available fields - GET
- https://{{MA2ID}}.prod.kulea.marketing:8089/rest/api/users/fields
Headers
- Authorization (Mandatory String <API-KEY>) - Example: afeWER£4q3
Response (application/json)
Response will be a json object with the following fields:
- success - if true then request was successful; otherwise failed.
- reason - only shown if success is false and indicates the reason of failure.
- count - represents the total number of fields associated with a Kulea contact
- fields- jsonArray representation of each field in a Kulea contact
Example:
{
"success": true,
"count": 5,
"fields": [
{
"fieldname": "date created",
"type": "Date"
},
{
"fieldname": "email",
"type": "Text"
},
{
"fieldname": "forename",
"type": "Text"
},
{
"fieldname": "signupdate",
"type": "Text"
},
{
"fieldname": "surname",
"type": "Text"
}
]
}