POST areas/linkareatype

Request Information

URI Parameters

None.

Body Parameters

AreaTypes
NameDescriptionTypeAdditional information
AreaTypeID

integer

None.

AreaType

string

None.

Active

integer

None.

TenantID

integer

None.

ParentId

integer

None.

GroupId

integer

None.

LevelNo

integer

None.

ReportFrom

boolean

None.

MaxLength

integer

None.

QuestionGroupId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaTypeID": 1,
  "AreaType": "sample string 2",
  "Active": 3,
  "TenantID": 4,
  "ParentId": 1,
  "GroupId": 1,
  "LevelNo": 1,
  "ReportFrom": true,
  "MaxLength": 1,
  "QuestionGroupId": 5
}

text/html

Sample:
{"AreaTypeID":1,"AreaType":"sample string 2","Active":3,"TenantID":4,"ParentId":1,"GroupId":1,"LevelNo":1,"ReportFrom":true,"MaxLength":1,"QuestionGroupId":5}

application/xml, text/xml

Sample:
<AreaTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Areas">
  <Active>3</Active>
  <AreaType>sample string 2</AreaType>
  <AreaTypeID>1</AreaTypeID>
  <GroupId>1</GroupId>
  <LevelNo>1</LevelNo>
  <MaxLength>1</MaxLength>
  <ParentId>1</ParentId>
  <QuestionGroupId>5</QuestionGroupId>
  <ReportFrom>true</ReportFrom>
  <TenantID>4</TenantID>
</AreaTypes>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.