POST api/RpaCallback?signature={signature}×tamp={timestamp}&nonce={nonce}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| signature | string |
Required |
|
| timestamp | string |
Required |
|
| nonce | string |
Required |
Body Parameters
RpaBody| Name | Description | Type | Additional information |
|---|---|---|---|
| taskId | integer |
None. |
|
| appId | string |
None. |
|
| taskType | TaxTaskType |
None. |
|
| taskStatus | integer |
None. |
|
| data | Object |
None. |
|
| timestamp | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"taskId": 1,
"appId": "sample string 2",
"taskType": 3,
"taskStatus": 3,
"data": {},
"timestamp": 5
}
application/xml, text/xml
Sample:
<RpaBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccTax.Declaration.Shared.Models"> <AppId>sample string 2</AppId> <Data /> <TaskId>1</TaskId> <TaskStatus>3</TaskStatus> <TaskType>已认证抵扣发票</TaskType> <timestamp>5</timestamp> </RpaBody>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | boolean |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": true,
"msg": "sample string 2",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models"> <Data>true</Data> <Msg>sample string 2</Msg> <State>OK</State> <SubState>OK</SubState> <TaskType>已认证抵扣发票</TaskType> </ResponseDataOfboolean>