GET api/QueryAPi/ReturnBuyInvoiceById?id={id}&minisdrawer={minisdrawer}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
minisdrawer | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
BuyInvoice_HeaderName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Total | decimal number |
None. |
|
Paid | decimal number |
None. |
|
Discount | decimal number |
None. |
|
Net | decimal number |
None. |
|
Date | date |
None. |
|
User_Id | integer |
None. |
|
Branch_Id | integer |
None. |
|
Vendor_Id | integer |
None. |
|
Returned | boolean |
None. |
|
Branch_Invoice_For_Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Total": 2.1, "Paid": 3.1, "Discount": 4.1, "Net": 5.1, "Date": "2025-04-03T22:00:52.5624604-07:00", "User_Id": 7, "Branch_Id": 8, "Vendor_Id": 9, "Returned": true, "Branch_Invoice_For_Id": 11 }
application/xml, text/xml
Sample:
<BuyInvoice_Header xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models"> <Branch_Id>8</Branch_Id> <Branch_Invoice_For_Id>11</Branch_Invoice_For_Id> <Date>2025-04-03T22:00:52.5624604-07:00</Date> <Discount>4.1</Discount> <Id>1</Id> <Net>5.1</Net> <Paid>3.1</Paid> <Returned>true</Returned> <Total>2.1</Total> <User_Id>7</User_Id> <Vendor_Id>9</Vendor_Id> </BuyInvoice_Header>