GET api/v1/Badges
Returns a list of Badge Templates that the API token has rights to view
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of BadgeBasicViewModelName | Description | Type | Additional information |
---|---|---|---|
BadgeTemplateId |
Represents the PK of the Badge template |
globally unique identifier |
None. |
ACSystemId |
Represents the PK of the Access Control System for the badge template |
globally unique identifier |
None. |
ACSystemName |
Represents the name of the Access Control System for the badge template |
string |
None. |
CompanyId |
Represents the nullalbe PK of the company (if applicable) that owns the badge template. Null means this is a system-wide template. |
globally unique identifier |
None. |
CompanyName |
Represents the name of the company (if applicable) that owns the badge template. |
string |
None. |
Name |
Represents the name of the Badge template |
string |
None. |
BadgeTemplateTypeId |
Represents type of badge template - visitor, employee, visiting employee, vendor |
globally unique identifier |
None. |
Deleted |
Represents the deleted status of the badge template |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "BadgeTemplateId": "5f0e6c75-e914-4ecc-a56c-bbc36f6176e0", "ACSystemId": "aa569adf-85f4-4f76-ad82-8a8923d38e83", "ACSystemName": "sample string 2", "CompanyId": "9cd58019-22e4-4a1e-a914-d06d73da5a86", "CompanyName": "sample string 3", "Name": "sample string 4", "BadgeTemplateTypeId": "fe6637d6-6e21-4b9d-be38-ae6cb583c07c", "Deleted": true }, { "BadgeTemplateId": "5f0e6c75-e914-4ecc-a56c-bbc36f6176e0", "ACSystemId": "aa569adf-85f4-4f76-ad82-8a8923d38e83", "ACSystemName": "sample string 2", "CompanyId": "9cd58019-22e4-4a1e-a914-d06d73da5a86", "CompanyName": "sample string 3", "Name": "sample string 4", "BadgeTemplateTypeId": "fe6637d6-6e21-4b9d-be38-ae6cb583c07c", "Deleted": true } ]
application/xml, text/xml
Sample:
<ArrayOfBadgeBasicViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <BadgeBasicViewModel> <ACSystemId>aa569adf-85f4-4f76-ad82-8a8923d38e83</ACSystemId> <ACSystemName>sample string 2</ACSystemName> <BadgeTemplateId>5f0e6c75-e914-4ecc-a56c-bbc36f6176e0</BadgeTemplateId> <BadgeTemplateTypeId>fe6637d6-6e21-4b9d-be38-ae6cb583c07c</BadgeTemplateTypeId> <CompanyId>9cd58019-22e4-4a1e-a914-d06d73da5a86</CompanyId> <CompanyName>sample string 3</CompanyName> <Deleted>true</Deleted> <Name>sample string 4</Name> </BadgeBasicViewModel> <BadgeBasicViewModel> <ACSystemId>aa569adf-85f4-4f76-ad82-8a8923d38e83</ACSystemId> <ACSystemName>sample string 2</ACSystemName> <BadgeTemplateId>5f0e6c75-e914-4ecc-a56c-bbc36f6176e0</BadgeTemplateId> <BadgeTemplateTypeId>fe6637d6-6e21-4b9d-be38-ae6cb583c07c</BadgeTemplateTypeId> <CompanyId>9cd58019-22e4-4a1e-a914-d06d73da5a86</CompanyId> <CompanyName>sample string 3</CompanyName> <Deleted>true</Deleted> <Name>sample string 4</Name> </BadgeBasicViewModel> </ArrayOfBadgeBasicViewModel>