POST api/AuthShare/Process
处理分享请求
Request Information
Body Parameters
RequestProcessModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestId |
分享请求 id |
integer |
None. |
| TypeId |
处理类型 1. 同意 2. 拒绝 3. 删除 |
integer |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RequestId": 1,
"TypeId": 2,
"Token": "sample string 3",
"Language": "sample string 4",
"AppId": "sample string 5"
}
application/xml, text/xml
Sample:
<RequestProcessModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 5</AppId> <Language>sample string 4</Language> <Token>sample string 3</Token> <RequestId>1</RequestId> <TypeId>2</TypeId> </RequestProcessModel>
Response Information
Resource Description
State 值为:
0. 表示成功
4000. 表示失败
4500. 家庭成员不能超过 10 人
5001. 表示该请求已处理
| Name | Description | Type | Additional information |
|---|---|---|---|
| Message |
消息 |
string |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"State": 2
}
application/xml, text/xml
Sample:
<RequestProcessResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel"> <State>2</State> <Message>sample string 1</Message> </RequestProcessResult>