GET api/Invoices
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of InvoiceModelName | Description | Type | Additional information |
---|---|---|---|
due_date | decimal number |
None. |
|
order_id | string |
None. |
|
order_name | string |
None. |
|
order_quantity | integer |
None. |
|
invoice_date | decimal number |
None. |
|
is_paid | boolean |
None. |
|
outstanding_amount | decimal number |
None. |
|
total_amount | decimal number |
None. |
|
order_year | integer |
None. |
|
order_number | integer |
None. |
|
invoice_number | string |
None. |
|
pdf_url | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "due_date": 1.1, "order_id": "sample string 2", "order_name": "sample string 3", "order_quantity": 4, "invoice_date": 5.1, "is_paid": true, "outstanding_amount": 7.1, "total_amount": 8.1, "order_year": 9, "order_number": 10, "invoice_number": "sample string 11", "pdf_url": [ "sample string 1", "sample string 2" ] }, { "due_date": 1.1, "order_id": "sample string 2", "order_name": "sample string 3", "order_quantity": 4, "invoice_date": 5.1, "is_paid": true, "outstanding_amount": 7.1, "total_amount": 8.1, "order_year": 9, "order_number": 10, "invoice_number": "sample string 11", "pdf_url": [ "sample string 1", "sample string 2" ] } ]
application/xml, text/xml
Sample:
<ArrayOfInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <InvoiceModel> <due_date>1.1</due_date> <invoice_date>5.1</invoice_date> <invoice_number>sample string 11</invoice_number> <is_paid>true</is_paid> <order_id>sample string 2</order_id> <order_name>sample string 3</order_name> <order_number>10</order_number> <order_quantity>4</order_quantity> <order_year>9</order_year> <outstanding_amount>7.1</outstanding_amount> <pdf_url xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </pdf_url> <total_amount>8.1</total_amount> </InvoiceModel> <InvoiceModel> <due_date>1.1</due_date> <invoice_date>5.1</invoice_date> <invoice_number>sample string 11</invoice_number> <is_paid>true</is_paid> <order_id>sample string 2</order_id> <order_name>sample string 3</order_name> <order_number>10</order_number> <order_quantity>4</order_quantity> <order_year>9</order_year> <outstanding_amount>7.1</outstanding_amount> <pdf_url xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </pdf_url> <total_amount>8.1</total_amount> </InvoiceModel> </ArrayOfInvoiceModel>