POST rxgis/SaveArea

Request Information

URI Parameters

None.

Body Parameters

RXArea
NameDescriptionTypeAdditional information
AreaId

integer

None.

DivisionId

integer

None.

AreaName

string

None.

AreaTypeId

integer

None.

ParentId

integer

None.

Active

boolean

None.

RXCustId

integer

None.

LevelNo

integer

None.

AreaType

string

None.

AreaDesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AreaId": 1,
  "DivisionId": 1,
  "AreaName": "sample string 2",
  "AreaTypeId": 3,
  "ParentId": 4,
  "Active": true,
  "RXCustId": 6,
  "LevelNo": 7,
  "AreaType": "sample string 8",
  "AreaDesc": "sample string 9"
}

text/html

Sample:
{"AreaId":1,"DivisionId":1,"AreaName":"sample string 2","AreaTypeId":3,"ParentId":4,"Active":true,"RXCustId":6,"LevelNo":7,"AreaType":"sample string 8","AreaDesc":"sample string 9"}

application/xml, text/xml

Sample:
<RXArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.RXGIS">
  <Active>true</Active>
  <AreaDesc>sample string 9</AreaDesc>
  <AreaId>1</AreaId>
  <AreaName>sample string 2</AreaName>
  <AreaType>sample string 8</AreaType>
  <AreaTypeId>3</AreaTypeId>
  <DivisionId>1</DivisionId>
  <LevelNo>7</LevelNo>
  <ParentId>4</ParentId>
  <RXCustId>6</RXCustId>
</RXArea>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.