POST api/Invoice/AddInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| InvoiceType | integer |
None. |
|
| InvoiceTitle | string |
None. |
|
| TaxFileNumber | string |
None. |
|
| string |
None. |
||
| UBotId | string |
None. |
|
| OrderId | string |
None. |
|
| ApplyType | integer |
None. |
|
| Remark | string |
None. |
|
| TopUpTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"InvoiceType": 2,
"InvoiceTitle": "sample string 3",
"TaxFileNumber": "sample string 4",
"Email": "sample string 5",
"UBotId": "sample string 6",
"OrderId": "sample string 7",
"ApplyType": 8,
"Remark": "sample string 9",
"TopUpTime": "2026-09-09T14:07:21.0527479+08:00"
}
application/xml, text/xml
Sample:
<InvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YuXun.WebAPI.Models"> <ApplyType>8</ApplyType> <Email>sample string 5</Email> <InvoiceTitle>sample string 3</InvoiceTitle> <InvoiceType>2</InvoiceType> <OrderId>sample string 7</OrderId> <Remark>sample string 9</Remark> <TaxFileNumber>sample string 4</TaxFileNumber> <TopUpTime>2026-09-09T14:07:21.0527479+08:00</TopUpTime> <UBotId>sample string 6</UBotId> <UserId>sample string 1</UserId> </InvoiceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |