POST v1/forms/content/{id}/choices

Use this method to add choices for a choice type element, or a five element select

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Form element unique identifier.

string

Required

Body Parameters

Choice structure with information about the new choice.

FormElementChoice
NameDescriptionTypeAdditional information
id

Choice unique identifier.

string

None.

name

Choice display label/text.

string

None.

internalName

Choice internal name (Used in code by some customized clients)

string

None.

order

Display order.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 3",
  "internalName": "sample string 4",
  "order": 1
}

Response Information

Resource Description

Returns the Form Element Choice created or appropriate headers describing what happen while trying to add the choice.

FormElementChoice
NameDescriptionTypeAdditional information
id

Choice unique identifier.

string

None.

name

Choice display label/text.

string

None.

internalName

Choice internal name (Used in code by some customized clients)

string

None.

order

Display order.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 3",
  "internalName": "sample string 4",
  "order": 1
}