GetVendorById
Overview
Request Information
Method
GET - api/Vendor/GetVendorById/{VendorId}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorId |
|
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
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": "5c2d5170-5db5-4ab2-9bbd-1b8413d1ec08",
"Name": "sample string 2",
"ACSystemId": "793ceb07-c0f8-4e51-b1dd-de3ab8e675fd",
"ACSystemName": "sample string 4",
"OccupancyId": "30945af4-af7f-4916-a146-3bd9c6f65c28",
"OccupancyName": "sample string 5",
"CompanyId": "12adc996-113b-4aa9-a7a3-f8065dc22674",
"CompanyName": "sample string 7",
"StreetAddress1": "sample string 8",
"StreetAddress2": "sample string 9",
"City": "sample string 10",
"RegionId": "1e31528e-b017-4aa3-95b1-001d56b4a7e2",
"RegionName": "sample string 12",
"CountryId": "d43c827b-b89e-41ab-9870-19bf67cc58fd",
"CountryName": "sample string 14",
"PostalCode": "sample string 15",
"Phone": "sample string 16",
"VendorNumber": "sample string 17",
"TimeZoneInfoId": "sample string 18",
"Deleted": true
}
XML
<VendorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers"> <ACSystemId>793ceb07-c0f8-4e51-b1dd-de3ab8e675fd</ACSystemId> <ACSystemName>sample string 4</ACSystemName> <City>sample string 10</City> <CompanyId>12adc996-113b-4aa9-a7a3-f8065dc22674</CompanyId> <CompanyName>sample string 7</CompanyName> <CountryId>d43c827b-b89e-41ab-9870-19bf67cc58fd</CountryId> <CountryName>sample string 14</CountryName> <Deleted>true</Deleted> <Name>sample string 2</Name> <OccupancyId>30945af4-af7f-4916-a146-3bd9c6f65c28</OccupancyId> <OccupancyName>sample string 5</OccupancyName> <Phone>sample string 16</Phone> <PostalCode>sample string 15</PostalCode> <RegionId>1e31528e-b017-4aa3-95b1-001d56b4a7e2</RegionId> <RegionName>sample string 12</RegionName> <StreetAddress1>sample string 8</StreetAddress1> <StreetAddress2>sample string 9</StreetAddress2> <TimeZoneInfoId>sample string 18</TimeZoneInfoId> <VendorId>5c2d5170-5db5-4ab2-9bbd-1b8413d1ec08</VendorId> <VendorNumber>sample string 17</VendorNumber> </VendorViewModel>