POST api/Forms

Request Information

URI Parameters

None.

Body Parameters

Forms
NameDescriptionTypeAdditional information
FormId

integer

None.

EmployesId

integer

None.

Title

string

None.

Txt

string

None.

PublishedDate

date

None.

AvailableToDate

date

None.

LastChanged

date

None.

IsAnonymous

boolean

None.

IsAvailable

boolean

None.

IsDraft

boolean

None.

AnswerVisibleForUser

boolean

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FormId": 1,
  "EmployesId": 2,
  "Title": "sample string 3",
  "Txt": "sample string 4",
  "PublishedDate": "2025-08-14T03:10:20.0592891+00:00",
  "AvailableToDate": "2025-08-14T03:10:20.0592891+00:00",
  "LastChanged": "2025-08-14T03:10:20.0592891+00:00",
  "IsAnonymous": true,
  "IsAvailable": true,
  "IsDraft": true,
  "AnswerVisibleForUser": true,
  "LastChange_AuthorId": 11
}

application/xml, text/xml

Sample:
<Forms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <AnswerVisibleForUser>true</AnswerVisibleForUser>
  <AvailableToDate>2025-08-14T03:10:20.0592891+00:00</AvailableToDate>
  <EmployesId>2</EmployesId>
  <FormId>1</FormId>
  <IsAnonymous>true</IsAnonymous>
  <IsAvailable>true</IsAvailable>
  <IsDraft>true</IsDraft>
  <LastChange_AuthorId>11</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:10:20.0592891+00:00</LastChanged>
  <PublishedDate>2025-08-14T03:10:20.0592891+00:00</PublishedDate>
  <Title>sample string 3</Title>
  <Txt>sample string 4</Txt>
</Forms>

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 'Forms'.

Response Information

Resource Description

Forms
NameDescriptionTypeAdditional information
FormId

integer

None.

EmployesId

integer

None.

Title

string

None.

Txt

string

None.

PublishedDate

date

None.

AvailableToDate

date

None.

LastChanged

date

None.

IsAnonymous

boolean

None.

IsAvailable

boolean

None.

IsDraft

boolean

None.

AnswerVisibleForUser

boolean

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "FormId": 1,
  "EmployesId": 2,
  "Title": "sample string 3",
  "Txt": "sample string 4",
  "PublishedDate": "2025-08-14T03:10:20.0749003+00:00",
  "AvailableToDate": "2025-08-14T03:10:20.0749003+00:00",
  "LastChanged": "2025-08-14T03:10:20.0749003+00:00",
  "IsAnonymous": true,
  "IsAvailable": true,
  "IsDraft": true,
  "AnswerVisibleForUser": true,
  "LastChange_AuthorId": 11
}

application/xml, text/xml

Sample:
<Forms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <AnswerVisibleForUser>true</AnswerVisibleForUser>
  <AvailableToDate>2025-08-14T03:10:20.0749003+00:00</AvailableToDate>
  <EmployesId>2</EmployesId>
  <FormId>1</FormId>
  <IsAnonymous>true</IsAnonymous>
  <IsAvailable>true</IsAvailable>
  <IsDraft>true</IsDraft>
  <LastChange_AuthorId>11</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:10:20.0749003+00:00</LastChanged>
  <PublishedDate>2025-08-14T03:10:20.0749003+00:00</PublishedDate>
  <Title>sample string 3</Title>
  <Txt>sample string 4</Txt>
</Forms>