GET api/Invoice/{id}?user={user}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| user | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Invoice| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TransactionId | string |
None. |
|
| Contents | string |
None. |
|
| InvoiceDate | date |
None. |
|
| TotalTTC | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"TransactionId": "sample string 2",
"Contents": "sample string 3",
"InvoiceDate": "2025-12-12T19:12:25.7247828+01:00",
"TotalTTC": 5.0
}
application/xml, text/xml
Sample:
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Invoice"> <Contents>sample string 3</Contents> <Id>1</Id> <InvoiceDate>2025-12-12T19:12:25.7247828+01:00</InvoiceDate> <TotalTTC>5</TotalTTC> <TransactionId>sample string 2</TransactionId> </Invoice>