POST api/FormSections/PostFormSection

Request Information

URI Parameters

None.

Body Parameters

FormSection
NameDescriptionTypeAdditional information
FormSectionId

integer

None.

FormId

integer

None.

Position

integer

None.

Title

string

None.

Txt

string

None.

Required

boolean

None.

IsOnePagedQuestion

boolean

None.

IsVisible

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FormSectionId": 1,
  "FormId": 2,
  "Position": 3,
  "Title": "sample string 4",
  "Txt": "sample string 5",
  "Required": true,
  "IsOnePagedQuestion": true,
  "IsVisible": true,
  "LastChanged": "2025-08-14T03:10:19.3369155+00:00",
  "LastChange_AuthorId": 10
}

application/xml, text/xml

Sample:
<FormSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <FormId>2</FormId>
  <FormSectionId>1</FormSectionId>
  <IsOnePagedQuestion>true</IsOnePagedQuestion>
  <IsVisible>true</IsVisible>
  <LastChange_AuthorId>10</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:10:19.3369155+00:00</LastChanged>
  <Position>3</Position>
  <Required>true</Required>
  <Title>sample string 4</Title>
  <Txt>sample string 5</Txt>
</FormSection>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FormSection'.

Response Information

Resource Description

FormSection
NameDescriptionTypeAdditional information
FormSectionId

integer

None.

FormId

integer

None.

Position

integer

None.

Title

string

None.

Txt

string

None.

Required

boolean

None.

IsOnePagedQuestion

boolean

None.

IsVisible

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "FormSectionId": 1,
  "FormId": 2,
  "Position": 3,
  "Title": "sample string 4",
  "Txt": "sample string 5",
  "Required": true,
  "IsOnePagedQuestion": true,
  "IsVisible": true,
  "LastChanged": "2025-08-14T03:10:19.3525207+00:00",
  "LastChange_AuthorId": 10
}

application/xml, text/xml

Sample:
<FormSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <FormId>2</FormId>
  <FormSectionId>1</FormSectionId>
  <IsOnePagedQuestion>true</IsOnePagedQuestion>
  <IsVisible>true</IsVisible>
  <LastChange_AuthorId>10</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:10:19.3525207+00:00</LastChanged>
  <Position>3</Position>
  <Required>true</Required>
  <Title>sample string 4</Title>
  <Txt>sample string 5</Txt>
</FormSection>