POST api/invoice-selection/deduction/save/{invoicePeriodId}/{saveAction}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| invoicePeriodId | integer |
Required |
|
| saveAction | InvoiceSelectSaveOption |
Required |
Body Parameters
Collection of stringRequest Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| State | ResponseState |
None. |
|
| SubState | ResponseSubStateCode |
None. |
|
| Data | integer |
None. |
|
| Msg | string |
None. |
|
| TaskType | TaxTaskType |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 1000,
"subState": 0,
"data": 1,
"msg": "sample string 2",
"taskType": 3
}
application/xml, text/xml
Sample:
<ResponseDataOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.TaxDeclaration.Service.Models"> <Data>1</Data> <Msg>sample string 2</Msg> <State>OK</State> <SubState>OK</SubState> <TaskType>已认证抵扣发票</TaskType> </ResponseDataOfint>