These endpoints let you create, edit, update and delete all of the custom fields in your account. Of particular interest is the /#account_id/fields/#field_id/clear endpoint which lets you clear out all the data in a single field for all members in your account. This makes it easy to re-initialize a dataset if you’re looking to correct an import error or syncing issue.
Gets a list of this account’s defined fields.
| Parameters: |
|
|---|---|
| Returns : | An array of fields. |
Gets the detailed information about a particular field.
| Parameters: |
|
|---|---|
| Returns : | A field. |
| Raises : | Http404 if the field does not exist. |
Create a new field field.
There must not already be a field with this name.
| Parameters: |
|
|---|---|
| Returns : | A reference to the new field. |
Deletes a field.
| Returns : | True if the field is deleted. |
|---|---|
| Raises : | Http404 if the field does not exist. |
Clear the member data for the specified field.
| Returns : | True if all of the member field data is deleted |
|---|
Updates an existing field.
| Returns : | A reference to the updated field. |
|---|
These endpoints let you create, edit, update and delete all of the field relationships in your account. A field relationship links a primary field to a dependent field where the selected value of the primary field determines the available options in the dependent field. For example, a “State” field could be linked to a “City” field such that when “Texas” is selected in the “State” field, only cities in Texas are available in the “City” field. A field can only be part of one relationship as either a primary or dependent field.
Get a list of this account's field relationships.
| Returns : | An array of field relationships. |
|---|
Get a field relationship in this account by ID.
| Returns : | A field relationship. |
|---|---|
| Raises : | Http404 if the field relationship does not exist. |
Create a new field relationship.
There must not already be a field relationship with the provided name.
| Parameters: |
|
|---|---|
| Returns : | The new field relationship. |
| Raises : | Http400 for duplicate name or invalid options. |
Deletes a field relationship.
| Returns : | True if the field relationship is deleted. |
|---|---|
| Raises : | Http404 if the field relationship does not exist. |
Updates an existing field relationship. Can take any of the same parameters as the POST endpoint.
| Returns : | The updated field relationship. |
|---|---|
| Raises : | Http400 if an invalid configuration is detected. |