GET api/Bills/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OutDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| BillNo | string |
None. |
|
| ImagePath | string |
None. |
|
| DateCreated | date |
None. |
|
| Project | string |
None. |
|
| UnitNo | string |
None. |
|
| Amount | decimal number |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| IsRejectable | boolean |
None. |
|
| Status | string |
None. |
|
| PaymentId | string |
None. |
|
| PaymentMethod | string |
None. |
|
| Remarks | string |
None. |
|
| Type | string |
None. |
|
| Success | boolean |
None. |
|
| Errors | Collection of OutError |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"BillNo": "sample string 2",
"ImagePath": "sample string 3",
"DateCreated": "2026-03-09T16:11:51.393839+08:00",
"Project": "sample string 4",
"UnitNo": "sample string 5",
"Amount": 6.0,
"Title": "sample string 7",
"Description": "sample string 8",
"IsRejectable": true,
"Status": "sample string 10",
"PaymentId": "sample string 11",
"PaymentMethod": "sample string 12",
"Remarks": "sample string 13",
"Type": "sample string 14",
"Success": true,
"Errors": [
{
"ErrorCode": "sample string 1",
"ErrorMessage": "sample string 2"
},
{
"ErrorCode": "sample string 1",
"ErrorMessage": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<Bills.OutDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.EZTOneApp.Services.Models.ApiModels">
<Errors>
<BaseApi.OutError>
<ErrorCode>sample string 1</ErrorCode>
<ErrorMessage>sample string 2</ErrorMessage>
</BaseApi.OutError>
<BaseApi.OutError>
<ErrorCode>sample string 1</ErrorCode>
<ErrorMessage>sample string 2</ErrorMessage>
</BaseApi.OutError>
</Errors>
<Success>true</Success>
<Amount>6</Amount>
<BillNo>sample string 2</BillNo>
<DateCreated>2026-03-09T16:11:51.393839+08:00</DateCreated>
<Description>sample string 8</Description>
<Id>sample string 1</Id>
<ImagePath>sample string 3</ImagePath>
<IsRejectable>true</IsRejectable>
<PaymentId>sample string 11</PaymentId>
<PaymentMethod>sample string 12</PaymentMethod>
<Project>sample string 4</Project>
<Remarks>sample string 13</Remarks>
<Status>sample string 10</Status>
<Title>sample string 7</Title>
<Type>sample string 14</Type>
<UnitNo>sample string 5</UnitNo>
</Bills.OutDetail>