POST api/AnswerType/Create

Request Information

URI Parameters

None.

Body Parameters

RefFormAnswerTypeDTO
NameDescriptionTypeAdditional information
refFormAnswerTypeId

integer

None.

formAnswerTypeCode

string

None.

formAnswerTypeName

string

None.

hasImageCaption

boolean

None.

isActive

boolean

None.

isChoices

boolean

None.

userRequestId

integer

None.

userRoleId

integer

None.

userOfficeId

integer

None.

timestamp

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "refFormAnswerTypeId": 1,
  "formAnswerTypeCode": "sample string 2",
  "formAnswerTypeName": "sample string 3",
  "hasImageCaption": true,
  "isActive": true,
  "isChoices": true,
  "userRequestId": 7,
  "userRoleId": 8,
  "userOfficeId": 9,
  "timestamp": "QEA="
}

text/html

Sample:
{"refFormAnswerTypeId":1,"formAnswerTypeCode":"sample string 2","formAnswerTypeName":"sample string 3","hasImageCaption":true,"isActive":true,"isChoices":true,"userRequestId":7,"userRoleId":8,"userOfficeId":9,"timestamp":"QEA="}

application/xml, text/xml

Sample:
<RefFormAnswerTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models.Form">
  <timestamp xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">QEA=</timestamp>
  <userOfficeId xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">9</userOfficeId>
  <userRequestId xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">7</userRequestId>
  <userRoleId xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">8</userRoleId>
  <formAnswerTypeCode>sample string 2</formAnswerTypeCode>
  <formAnswerTypeName>sample string 3</formAnswerTypeName>
  <hasImageCaption>true</hasImageCaption>
  <isActive>true</isActive>
  <refFormAnswerTypeId>1</refFormAnswerTypeId>
</RefFormAnswerTypeDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.