post
https://api.marketcircle.net/v1/form_definitions
Create a form definition
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
See Form Definition for the attributes and field types. name is required, and each field needs a name and type:
{
"name": "Site Visit Checklist",
"entities": ["contact", "project"],
"key_definitions": [
{ "name": "Inspector notes", "type": "text" },
{ "name": "Rating", "type": "number", "default": 3 },
{ "name": "Areas checked", "type": "multiple_checkboxes", "options": ["Roof", "Basement", "Wiring"] }
]
}A successful request returns 201 Created with the new definition's reference, e.g. {"location": "/v1/form_definitions/1000"}.