Create New Options

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.zerionsoftware.com/doc/iformbuilder-v81/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "iFormBuilder V81 MCP server": {
    "url": "https://apidocs.zerionsoftware.com/doc/iformbuilder-v81/mcp"
  }
}

Close
POST /profiles/{profile_id}/optionlists/{optionlist_id}/options

Headers

  • Authorization string

    e.g. Bearer {access_token}

Path parameters

  • profile_id string Required

    id of the profile

  • optionlist_id number Required

    id of the option list

application/json

Body

  • key_value string Required
  • label string Required
  • sort_order number
  • condition_value string
  • score number

Responses

  • 201 application/json

    Created

    Hide response attribute Show response attribute object
    • id number Required

      the created option id

  • 207 application/json

    Multi-Status - some items succeeded and some failed. The body is an array in request order (a list request body, even with one item, always answers a list); a failed item carries error_message instead of id and was not written.

    Hide response attributes Show response attributes object
    • id integer

      present when the item succeeded

    • error_message string

      present when the item failed

  • 400 application/json

    Bad Request - every item of a list request body failed. The body has the same shape as 207, with error_message on each item; nothing was written. A single-object request body that fails answers the standard error object instead.

    One of:
    Hide attribute Show attribute object
    • error_message string Required
POST /profiles/{profile_id}/optionlists/{optionlist_id}/options
curl \
 --request POST 'https://api.iformbuilder.com/exzact/api/v81/[servername]/profiles/self/optionlists/{optionlist_id}/options' \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer {access_token}" \
 --data '{
  "key_value": "na",
  "label": "N/A",
  "sort_order": 0
}'
Request examples
{
  "key_value": "na",
  "label": "N/A",
  "sort_order": 0
}
[
  {
    "key_value": "pass",
    "label": "Pass",
    "sort_order": 1
  },
  {
    "key_value": "fail",
    "label": "Fail",
    "sort_order": 2
  }
]
Response examples (201)
{
  "id": 268623880
}
[
  {
    "id": 268623883
  },
  {
    "id": 268623886
  }
]
Response examples (207)
[
  {
    "id": 1
  },
  {
    "error_message": "Parameter 'sort_order' is invalid"
  }
]
Response examples (400)
[
  {
    "error_message": "Parameter 'sort_order' is invalid"
  }
]
{
  "error_message": "Parameter 'sort_order' is invalid"
}