POST api/CommunityV770/SubmitOrdered
提交 找社区
Request Information
URI Parameters
None.
Body Parameters
ZaiMieApp.WebApi.ViewModel.SubmitOrderedEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| newspapergroupId | integer |
None. |
|
| streetId |
街道Id |
integer |
None. |
| communityId |
社区Id |
integer |
None. |
| name |
点单人姓名 |
string |
None. |
| phone |
点单人电话 |
string |
None. |
| orderedServiceType |
点单服务类型 |
integer |
None. |
| requestContent |
请求内容 |
string |
None. |
| sign | string |
None. |
|
| stamp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"newspapergroupId": 1,
"streetId": 2,
"communityId": 3,
"name": "sample string 4",
"phone": "sample string 5",
"orderedServiceType": 6,
"requestContent": "sample string 7",
"sign": "sample string 8",
"stamp": "sample string 9"
}
application/xml, text/xml
Sample:
<SubmitOrderedEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <communityId>3</communityId> <name>sample string 4</name> <newspapergroupId>1</newspapergroupId> <orderedServiceType>6</orderedServiceType> <phone>sample string 5</phone> <requestContent>sample string 7</requestContent> <sign>sample string 8</sign> <stamp>sample string 9</stamp> <streetId>2</streetId> </SubmitOrderedEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| addcoin |
赠送的金币 |
integer |
None. |
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"addcoin": 3,
"message": "sample string 4"
}
application/xml, text/xml
Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <addcoin>3</addcoin> <code>2</code> <message>sample string 4</message> <success>true</success> </ResultMsg>