GET api/type/tax-period
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseDataOfDictionaryOfInt32AndString| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | Dictionary of integer [key] and string [value] |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": {
"1": "sample string 2",
"3": "sample string 4"
},
"msg": "sample string 1",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfArrayOfKeyValueOfintstringuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models">
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfintstring>
<d2p1:Key>1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfintstring>
<d2p1:KeyValueOfintstring>
<d2p1:Key>3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfintstring>
</Data>
<Msg>sample string 1</Msg>
<State>OK</State>
<SubState>OK</SubState>
<TaskType>已认证抵扣发票</TaskType>
</ResponseDataOfArrayOfKeyValueOfintstringuHEDJ7Dj>