GET api/invoicing/customers?Page={Page}
Method for retreiving customer information. It is paginated with page size of 100 records.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Page |
Page number. Page size is 100 records. |
integer |
Range: inclusive between 1 and 2147483647 |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Customer ID |
integer |
Required |
| Name |
Customer name |
string |
Required |
| Address |
Customer address |
string |
Required |
| Town |
Customer town |
string |
Required |
| Phone |
Customer phone |
string |
Required |
| Mobile |
Customer mobile |
string |
Required |
|
Customer email |
string |
Required |
|
| OIB |
Customer OIB |
string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"Town": "sample string 4",
"Phone": "sample string 5",
"Mobile": "sample string 6",
"Email": "sample string 7",
"OIB": "sample string 8"
},
{
"ID": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"Town": "sample string 4",
"Phone": "sample string 5",
"Mobile": "sample string 6",
"Email": "sample string 7",
"OIB": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.cpis.tetrada.hr.Models">
<CustomerResponse>
<Address>sample string 3</Address>
<Email>sample string 7</Email>
<ID>1</ID>
<Mobile>sample string 6</Mobile>
<Name>sample string 2</Name>
<OIB>sample string 8</OIB>
<Phone>sample string 5</Phone>
<Town>sample string 4</Town>
</CustomerResponse>
<CustomerResponse>
<Address>sample string 3</Address>
<Email>sample string 7</Email>
<ID>1</ID>
<Mobile>sample string 6</Mobile>
<Name>sample string 2</Name>
<OIB>sample string 8</OIB>
<Phone>sample string 5</Phone>
<Town>sample string 4</Town>
</CustomerResponse>
</ArrayOfCustomerResponse>