POST api/claim/create

提交认领信息 type 0=树 1=酒

Request Information

URI Parameters

None.

Body Parameters

ClaimBaseModel
NameDescriptionTypeAdditional information
contact

联系人

string

None.

phone

联系电话

string

None.

cun

所在村

string

None.

number

预定数量

integer

None.

towns

乡镇编号

integer

None.

uid

会员id

string

None.

type

类型

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "contact": "sample string 1",
  "phone": "sample string 2",
  "cun": "sample string 3",
  "number": 4,
  "towns": 5,
  "uid": "sample string 6",
  "type": 7
}

application/xml, text/xml

Sample:
<ClaimBaseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Waiter.Mall.Apis.Models.DongTai">
  <contact>sample string 1</contact>
  <cun>sample string 3</cun>
  <number>4</number>
  <phone>sample string 2</phone>
  <towns>5</towns>
  <type>7</type>
  <uid>sample string 6</uid>
</ClaimBaseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.