POST api/FormAnswers

Request Information

URI Parameters

None.

Body Parameters

FormAnswer
NameDescriptionTypeAdditional information
OptionId

integer

None.

EmployesId

integer

None.

QuestionId

integer

None.

Value

string

None.

IsFreeAnswer

boolean

None.

IsNumeric

boolean

None.

IsBool

boolean

None.

IsFile

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OptionId": 1,
  "EmployesId": 2,
  "QuestionId": 3,
  "Value": "sample string 4",
  "IsFreeAnswer": true,
  "IsNumeric": true,
  "IsBool": true,
  "IsFile": true,
  "LastChanged": "2025-08-14T03:10:25.3289227+00:00",
  "LastChange_AuthorId": 10
}

application/xml, text/xml

Sample:
<FormAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <EmployesId>2</EmployesId>
  <IsBool>true</IsBool>
  <IsFile>true</IsFile>
  <IsFreeAnswer>true</IsFreeAnswer>
  <IsNumeric>true</IsNumeric>
  <LastChange_AuthorId>10</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:10:25.3289227+00:00</LastChanged>
  <OptionId>1</OptionId>
  <QuestionId>3</QuestionId>
  <Value>sample string 4</Value>
</FormAnswer>

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

Response Information

Resource Description

FormAnswer
NameDescriptionTypeAdditional information
OptionId

integer

None.

EmployesId

integer

None.

QuestionId

integer

None.

Value

string

None.

IsFreeAnswer

boolean

None.

IsNumeric

boolean

None.

IsBool

boolean

None.

IsFile

boolean

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "OptionId": 1,
  "EmployesId": 2,
  "QuestionId": 3,
  "Value": "sample string 4",
  "IsFreeAnswer": true,
  "IsNumeric": true,
  "IsBool": true,
  "IsFile": true,
  "LastChanged": "2025-08-14T03:10:25.3289227+00:00",
  "LastChange_AuthorId": 10
}

application/xml, text/xml

Sample:
<FormAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <EmployesId>2</EmployesId>
  <IsBool>true</IsBool>
  <IsFile>true</IsFile>
  <IsFreeAnswer>true</IsFreeAnswer>
  <IsNumeric>true</IsNumeric>
  <LastChange_AuthorId>10</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:10:25.3289227+00:00</LastChanged>
  <OptionId>1</OptionId>
  <QuestionId>3</QuestionId>
  <Value>sample string 4</Value>
</FormAnswer>