GET api/v1/Vendors
Returns a list of Vendors that the API token has rights to view.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of VendorViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorId |
Represents the PK of the Vendor |
globally unique identifier |
None. |
| Name |
Represents the name of the Vendor |
string |
None. |
| ACSystemId |
Represents the PK of the Access Control System for the Vendor |
globally unique identifier |
None. |
| ACSystemName |
Represents the name of the Access Control System for the Vendor |
string |
None. |
| OccupancyId |
Represents the PK of the Occupancy the Vendor performs work for (if applicable) |
globally unique identifier |
None. |
| OccupancyName |
Represents the name of the Occupancy the Vendor performs work for (if applicable) |
string |
None. |
| CompanyId |
Represents the PK of the global company that the Vendor is an instance of. |
globally unique identifier |
None. |
| CompanyName |
Represents the name of the global company that the Vendor is an instance of. |
string |
None. |
| StreetAddress1 |
Represents the primary street address of the Vendor |
string |
None. |
| StreetAddress2 |
Represents the secondary street address of the Vendor |
string |
None. |
| City |
Represents the city of the Vendor |
string |
None. |
| RegionId |
Represents the PK of the region (State, Province, County, etc) of the Vendor |
globally unique identifier |
None. |
| RegionName |
Represents the name of the region (State, Province, County, etc) of the Vendor |
string |
None. |
| CountryId |
Represents the PK of the country of the Vendor |
globally unique identifier |
None. |
| CountryName |
Represents the name of the country of the Vendor |
string |
None. |
| PostalCode |
Represents the Postal Code/Zip Code of the Vendor |
string |
None. |
| Phone |
Represents the primary phone number of the Vendor |
string |
None. |
| VendorNumber |
Represents the vendor number used to refer to the vendor (typically from an accounting package) |
string |
None. |
| TimeZoneInfoId |
Represents the TimeZone of the Facility |
string |
None. |
| Deleted |
Represents the deleted status of the Vendor |
boolean |
None. |
Response Formats
application/json, text/json
[
{
"VendorId": "26ae81f5-bbdc-4446-9cec-a13bdfc2c45d",
"Name": "sample string 2",
"ACSystemId": "c47acb16-5bf0-478a-b8c4-a67bd39a7e2f",
"ACSystemName": "sample string 3",
"OccupancyId": "5070a5b9-d814-446c-9ac7-717067f03651",
"OccupancyName": "sample string 4",
"CompanyId": "10cb7710-0031-4545-93e7-4c9dc48335ba",
"CompanyName": "sample string 6",
"StreetAddress1": "sample string 7",
"StreetAddress2": "sample string 8",
"City": "sample string 9",
"RegionId": "683b4186-b087-4f01-afc5-a14507caca3b",
"RegionName": "sample string 11",
"CountryId": "1b483e3c-bd75-4d24-83ca-2eb68057e161",
"CountryName": "sample string 13",
"PostalCode": "sample string 14",
"Phone": "sample string 15",
"VendorNumber": "sample string 16",
"TimeZoneInfoId": "sample string 17",
"Deleted": true
},
{
"VendorId": "26ae81f5-bbdc-4446-9cec-a13bdfc2c45d",
"Name": "sample string 2",
"ACSystemId": "c47acb16-5bf0-478a-b8c4-a67bd39a7e2f",
"ACSystemName": "sample string 3",
"OccupancyId": "5070a5b9-d814-446c-9ac7-717067f03651",
"OccupancyName": "sample string 4",
"CompanyId": "10cb7710-0031-4545-93e7-4c9dc48335ba",
"CompanyName": "sample string 6",
"StreetAddress1": "sample string 7",
"StreetAddress2": "sample string 8",
"City": "sample string 9",
"RegionId": "683b4186-b087-4f01-afc5-a14507caca3b",
"RegionName": "sample string 11",
"CountryId": "1b483e3c-bd75-4d24-83ca-2eb68057e161",
"CountryName": "sample string 13",
"PostalCode": "sample string 14",
"Phone": "sample string 15",
"VendorNumber": "sample string 16",
"TimeZoneInfoId": "sample string 17",
"Deleted": true
}
]
application/xml, text/xml
<ArrayOfVendorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers">
<VendorViewModel>
<ACSystemId>c47acb16-5bf0-478a-b8c4-a67bd39a7e2f</ACSystemId>
<ACSystemName>sample string 3</ACSystemName>
<City>sample string 9</City>
<CompanyId>10cb7710-0031-4545-93e7-4c9dc48335ba</CompanyId>
<CompanyName>sample string 6</CompanyName>
<CountryId>1b483e3c-bd75-4d24-83ca-2eb68057e161</CountryId>
<CountryName>sample string 13</CountryName>
<Deleted>true</Deleted>
<Name>sample string 2</Name>
<OccupancyId>5070a5b9-d814-446c-9ac7-717067f03651</OccupancyId>
<OccupancyName>sample string 4</OccupancyName>
<Phone>sample string 15</Phone>
<PostalCode>sample string 14</PostalCode>
<RegionId>683b4186-b087-4f01-afc5-a14507caca3b</RegionId>
<RegionName>sample string 11</RegionName>
<StreetAddress1>sample string 7</StreetAddress1>
<StreetAddress2>sample string 8</StreetAddress2>
<TimeZoneInfoId>sample string 17</TimeZoneInfoId>
<VendorId>26ae81f5-bbdc-4446-9cec-a13bdfc2c45d</VendorId>
<VendorNumber>sample string 16</VendorNumber>
</VendorViewModel>
<VendorViewModel>
<ACSystemId>c47acb16-5bf0-478a-b8c4-a67bd39a7e2f</ACSystemId>
<ACSystemName>sample string 3</ACSystemName>
<City>sample string 9</City>
<CompanyId>10cb7710-0031-4545-93e7-4c9dc48335ba</CompanyId>
<CompanyName>sample string 6</CompanyName>
<CountryId>1b483e3c-bd75-4d24-83ca-2eb68057e161</CountryId>
<CountryName>sample string 13</CountryName>
<Deleted>true</Deleted>
<Name>sample string 2</Name>
<OccupancyId>5070a5b9-d814-446c-9ac7-717067f03651</OccupancyId>
<OccupancyName>sample string 4</OccupancyName>
<Phone>sample string 15</Phone>
<PostalCode>sample string 14</PostalCode>
<RegionId>683b4186-b087-4f01-afc5-a14507caca3b</RegionId>
<RegionName>sample string 11</RegionName>
<StreetAddress1>sample string 7</StreetAddress1>
<StreetAddress2>sample string 8</StreetAddress2>
<TimeZoneInfoId>sample string 17</TimeZoneInfoId>
<VendorId>26ae81f5-bbdc-4446-9cec-a13bdfc2c45d</VendorId>
<VendorNumber>sample string 16</VendorNumber>
</VendorViewModel>
</ArrayOfVendorViewModel>