get https://api.salesautopilot.com/v2/newsletter//form//fields
Returns a list of fields assigned to the specified form.
Log in to see full request history
Response
Field | Type | Description |
---|---|---|
formfields.[] | string | Properties of form field |
formfields.[].id | string | ID of form field |
formfields.[].name | string | Name of form field |
formfields.[].label | string | Label of form field |
formfields.[].isMandatory | boolean | Indicates if the field is mandatory |
formfields.[].errorMessage | string | Message uppon error |
formfields.[].order | string | Represents the field's position on form |
listFields.[] | string | System name of field |
listFields.[].id | string | ID of field |
listFields.[].label | string | Label of field |
Error occured
Field | Type | Description |
---|---|---|
errorCode | int | Code of the error |
errorMessage | string | Human readable error message |
Error codes
errorCode | Description |
---|---|
1 | JSON syntax error |
2 | Missing request body |
11000 | Newsletter not found |
12000 | Form not found |
Responses