POST rxgis/SaveAreaType

Request Information

URI Parameters

None.

Body Parameters

RXAreaType
NameDescriptionTypeAdditional information
AreaTypeID

integer

None.

AreaTypeName

string

None.

Active

boolean

None.

LevelNo

integer

None.

ParentId

integer

None.

RXCustId

integer

None.

GroupId

integer

None.

MaxLength

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaTypeID": 1,
  "AreaTypeName": "sample string 2",
  "Active": true,
  "LevelNo": 1,
  "ParentId": 1,
  "RXCustId": 4,
  "GroupId": 1,
  "MaxLength": 1
}

text/html

Sample:
{"AreaTypeID":1,"AreaTypeName":"sample string 2","Active":true,"LevelNo":1,"ParentId":1,"RXCustId":4,"GroupId":1,"MaxLength":1}

application/xml, text/xml

Sample:
<RXAreaType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.RXGIS">
  <Active>true</Active>
  <AreaTypeID>1</AreaTypeID>
  <AreaTypeName>sample string 2</AreaTypeName>
  <GroupId>1</GroupId>
  <LevelNo>1</LevelNo>
  <MaxLength>1</MaxLength>
  <ParentId>1</ParentId>
  <RXCustId>4</RXCustId>
</RXAreaType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.