GET api/Vendors
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Vendor| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| DateCreated | date |
None. |
|
| LastModified | date |
None. |
|
| VendorName | string |
None. |
|
| UserID | string |
None. |
|
| Enabled | boolean |
None. |
|
| LiquorLicense | string |
None. |
|
| VatNumber | string |
None. |
|
| Logo | string |
None. |
|
| RegistrationNo | string |
None. |
|
| Banned | boolean |
None. |
|
| BanReason | string |
None. |
|
| TempLogo | Collection of byte |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| CategoryId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"DateCreated": "2025-12-11T10:58:18.376523+02:00",
"LastModified": "2025-12-11T10:58:18.376523+02:00",
"VendorName": "sample string 2",
"UserID": "sample string 3",
"Enabled": true,
"LiquorLicense": "sample string 4",
"VatNumber": "sample string 5",
"Logo": "sample string 6",
"RegistrationNo": "sample string 7",
"Banned": true,
"BanReason": "sample string 9",
"TempLogo": "QEA=",
"Longitude": 1.1,
"Latitude": 1.1,
"CategoryId": 10
},
{
"id": 1,
"DateCreated": "2025-12-11T10:58:18.376523+02:00",
"LastModified": "2025-12-11T10:58:18.376523+02:00",
"VendorName": "sample string 2",
"UserID": "sample string 3",
"Enabled": true,
"LiquorLicense": "sample string 4",
"VatNumber": "sample string 5",
"Logo": "sample string 6",
"RegistrationNo": "sample string 7",
"Banned": true,
"BanReason": "sample string 9",
"TempLogo": "QEA=",
"Longitude": 1.1,
"Latitude": 1.1,
"CategoryId": 10
}
]
application/xml, text/xml
Sample:
<ArrayOfVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
<Vendor>
<BanReason>sample string 9</BanReason>
<Banned>true</Banned>
<CategoryId>10</CategoryId>
<DateCreated>2025-12-11T10:58:18.376523+02:00</DateCreated>
<Enabled>true</Enabled>
<LastModified>2025-12-11T10:58:18.376523+02:00</LastModified>
<Latitude>1.1</Latitude>
<LiquorLicense>sample string 4</LiquorLicense>
<Logo>sample string 6</Logo>
<Longitude>1.1</Longitude>
<RegistrationNo>sample string 7</RegistrationNo>
<TempLogo>QEA=</TempLogo>
<UserID>sample string 3</UserID>
<VatNumber>sample string 5</VatNumber>
<VendorName>sample string 2</VendorName>
<id>1</id>
</Vendor>
<Vendor>
<BanReason>sample string 9</BanReason>
<Banned>true</Banned>
<CategoryId>10</CategoryId>
<DateCreated>2025-12-11T10:58:18.376523+02:00</DateCreated>
<Enabled>true</Enabled>
<LastModified>2025-12-11T10:58:18.376523+02:00</LastModified>
<Latitude>1.1</Latitude>
<LiquorLicense>sample string 4</LiquorLicense>
<Logo>sample string 6</Logo>
<Longitude>1.1</Longitude>
<RegistrationNo>sample string 7</RegistrationNo>
<TempLogo>QEA=</TempLogo>
<UserID>sample string 3</UserID>
<VatNumber>sample string 5</VatNumber>
<VendorName>sample string 2</VendorName>
<id>1</id>
</Vendor>
</ArrayOfVendor>