GetVendorsBySystemId
Overview
Request Information
Method
GET - api/Vendor/GetVendorsBySystemId/{ACSystemId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ACSystemId |
|
globally unique identifier |
Required |
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
JSON
[ { "VendorId": "5a967b7e-999d-41fb-99c2-f69c4f2fda5e", "Name": "sample string 2", "ACSystemId": "37409d01-c46f-4bf9-9e45-7ef3524c4a24", "ACSystemName": "sample string 4", "OccupancyId": "30540d15-d177-45d6-bdd9-b23e8160a652", "OccupancyName": "sample string 5", "CompanyId": "d890a472-89c7-42de-b7e3-1ca22218f893", "CompanyName": "sample string 7", "StreetAddress1": "sample string 8", "StreetAddress2": "sample string 9", "City": "sample string 10", "RegionId": "901edae1-7993-4900-a030-f429c051d493", "RegionName": "sample string 12", "CountryId": "c3783693-f574-49f5-a5f0-9b4879eac127", "CountryName": "sample string 14", "PostalCode": "sample string 15", "Phone": "sample string 16", "VendorNumber": "sample string 17", "TimeZoneInfoId": "sample string 18", "Deleted": true }, { "VendorId": "5a967b7e-999d-41fb-99c2-f69c4f2fda5e", "Name": "sample string 2", "ACSystemId": "37409d01-c46f-4bf9-9e45-7ef3524c4a24", "ACSystemName": "sample string 4", "OccupancyId": "30540d15-d177-45d6-bdd9-b23e8160a652", "OccupancyName": "sample string 5", "CompanyId": "d890a472-89c7-42de-b7e3-1ca22218f893", "CompanyName": "sample string 7", "StreetAddress1": "sample string 8", "StreetAddress2": "sample string 9", "City": "sample string 10", "RegionId": "901edae1-7993-4900-a030-f429c051d493", "RegionName": "sample string 12", "CountryId": "c3783693-f574-49f5-a5f0-9b4879eac127", "CountryName": "sample string 14", "PostalCode": "sample string 15", "Phone": "sample string 16", "VendorNumber": "sample string 17", "TimeZoneInfoId": "sample string 18", "Deleted": true } ]
XML
<ArrayOfVendorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers"> <VendorViewModel> <ACSystemId>37409d01-c46f-4bf9-9e45-7ef3524c4a24</ACSystemId> <ACSystemName>sample string 4</ACSystemName> <City>sample string 10</City> <CompanyId>d890a472-89c7-42de-b7e3-1ca22218f893</CompanyId> <CompanyName>sample string 7</CompanyName> <CountryId>c3783693-f574-49f5-a5f0-9b4879eac127</CountryId> <CountryName>sample string 14</CountryName> <Deleted>true</Deleted> <Name>sample string 2</Name> <OccupancyId>30540d15-d177-45d6-bdd9-b23e8160a652</OccupancyId> <OccupancyName>sample string 5</OccupancyName> <Phone>sample string 16</Phone> <PostalCode>sample string 15</PostalCode> <RegionId>901edae1-7993-4900-a030-f429c051d493</RegionId> <RegionName>sample string 12</RegionName> <StreetAddress1>sample string 8</StreetAddress1> <StreetAddress2>sample string 9</StreetAddress2> <TimeZoneInfoId>sample string 18</TimeZoneInfoId> <VendorId>5a967b7e-999d-41fb-99c2-f69c4f2fda5e</VendorId> <VendorNumber>sample string 17</VendorNumber> </VendorViewModel> <VendorViewModel> <ACSystemId>37409d01-c46f-4bf9-9e45-7ef3524c4a24</ACSystemId> <ACSystemName>sample string 4</ACSystemName> <City>sample string 10</City> <CompanyId>d890a472-89c7-42de-b7e3-1ca22218f893</CompanyId> <CompanyName>sample string 7</CompanyName> <CountryId>c3783693-f574-49f5-a5f0-9b4879eac127</CountryId> <CountryName>sample string 14</CountryName> <Deleted>true</Deleted> <Name>sample string 2</Name> <OccupancyId>30540d15-d177-45d6-bdd9-b23e8160a652</OccupancyId> <OccupancyName>sample string 5</OccupancyName> <Phone>sample string 16</Phone> <PostalCode>sample string 15</PostalCode> <RegionId>901edae1-7993-4900-a030-f429c051d493</RegionId> <RegionName>sample string 12</RegionName> <StreetAddress1>sample string 8</StreetAddress1> <StreetAddress2>sample string 9</StreetAddress2> <TimeZoneInfoId>sample string 18</TimeZoneInfoId> <VendorId>5a967b7e-999d-41fb-99c2-f69c4f2fda5e</VendorId> <VendorNumber>sample string 17</VendorNumber> </VendorViewModel> </ArrayOfVendorViewModel>