GET api/Bills/V2?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

OutDetailV2
NameDescriptionTypeAdditional information
Id

string

None.

BillNo

string

None.

ImagePath

string

None.

DateCreated

date

None.

Project

string

None.

UnitNo

string

None.

Amount

string

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.

Attachments

Collection of Attachment

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": "2024-09-28T11:25:26.7601243+08:00",
  "Project": "sample string 4",
  "UnitNo": "sample string 5",
  "Amount": "sample string 6",
  "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",
  "Attachments": [
    {
      "IconPath": "sample string 1",
      "FileName": "sample string 2",
      "FileUrl": "sample string 3",
      "DateCreated": "2024-09-28T11:25:26.7601243+08:00"
    },
    {
      "IconPath": "sample string 1",
      "FileName": "sample string 2",
      "FileUrl": "sample string 3",
      "DateCreated": "2024-09-28T11:25:26.7601243+08:00"
    }
  ],
  "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.OutDetailV2 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>sample string 6</Amount>
  <Attachments>
    <Bills.Attachment>
      <DateCreated>2024-09-28T11:25:26.7601243+08:00</DateCreated>
      <FileName>sample string 2</FileName>
      <FileUrl>sample string 3</FileUrl>
      <IconPath>sample string 1</IconPath>
    </Bills.Attachment>
    <Bills.Attachment>
      <DateCreated>2024-09-28T11:25:26.7601243+08:00</DateCreated>
      <FileName>sample string 2</FileName>
      <FileUrl>sample string 3</FileUrl>
      <IconPath>sample string 1</IconPath>
    </Bills.Attachment>
  </Attachments>
  <BillNo>sample string 2</BillNo>
  <DateCreated>2024-09-28T11:25:26.7601243+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.OutDetailV2>