POST admin/area/save

Request Information

URI Parameters

None.

Body Parameters

SysArea
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Population

integer

None.

UserQty

integer

None.

OrderQty

integer

None.

WeightTotal

decimal number

None.

Addr

string

None.

Lat

decimal number

None.

Lng

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Population": 3,
  "UserQty": 4,
  "OrderQty": 5,
  "WeightTotal": 6.0,
  "Addr": "sample string 7",
  "Lat": 8.0,
  "Lng": 9.0
}

application/xml, text/xml

Sample:
<SysArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YHT.Core">
  <Addr>sample string 7</Addr>
  <Id>1</Id>
  <Lat>8</Lat>
  <Lng>9</Lng>
  <Name>sample string 2</Name>
  <OrderQty>5</OrderQty>
  <Population>3</Population>
  <UserQty>4</UserQty>
  <WeightTotal>6</WeightTotal>
</SysArea>

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

Response Information

Resource Description

RtBase
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<RtBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseWebApi.Model">
  <code>1</code>
  <msg>sample string 2</msg>
</RtBase>