POST api/Servo/Tax/Task/Fpts
发票推送
Request Information
URI Parameters
None.
Body Parameters
TaxfptsContentName | Description | Type | Additional information |
---|---|---|---|
fpqqlsh |
发票请求流水号 |
string |
None. |
fpdm |
发票代码 |
string |
None. |
fphm |
发票号码 |
string |
None. |
fplx |
发票类型 |
string |
None. |
tsfs |
推送方式 |
string |
None. |
phone |
交付手机 |
string |
None. |
交付邮箱 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "fpqqlsh": "sample string 1", "fpdm": "sample string 2", "fphm": "sample string 3", "fplx": "sample string 4", "tsfs": "sample string 5", "phone": "sample string 6", "email": "sample string 7" }
application/xml, text/xml
Sample:
<TaxfptsContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Tax"> <email>sample string 7</email> <fpdm>sample string 2</fpdm> <fphm>sample string 3</fphm> <fplx>sample string 4</fplx> <fpqqlsh>sample string 1</fpqqlsh> <phone>sample string 6</phone> <tsfs>sample string 5</tsfs> </TaxfptsContent>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
发票推送
CommonOperationResultWithTagOfTaxCommonResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | TaxCommonResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "code": "sample string 1", "message": "sample string 2", "interfacetype": "sample string 3" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfTaxCommonResultYrAe0Cso xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.Tax"> <d2p1:code>sample string 1</d2p1:code> <d2p1:interfacetype>sample string 3</d2p1:interfacetype> <d2p1:message>sample string 2</d2p1:message> </tag> </CommonOperationResultWithTagOfTaxCommonResultYrAe0Cso>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.