Attributes are additional properties that can be assigned to screens. If an attribute has been associated with a screen, all sessions on that screen will be assigned that attribute when it is created. For example, if a screen is given the attribute of a Premium screen, all sessions that are shown on that screen will have the Premium attribute.
Both calls return objects with the same properties.
This retrieves the list of all attributes from a Veezi customer database.
[ { "Id": "0000000005", "Description": "Gold Room", "ShortName": "GR", "FontColor": "#000000", "BackgroundColor": "#9d5151", "ShowOnSessionsWithNoComps": false }, { "Id": "0000000007", "Description": "No Comps", "ShortName": "NC", "FontColor": "#1c1e1e", "BackgroundColor": "#53c338", "ShowOnSessionsWithNoComps": true } ]
<ArrayOfAttribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vista.Online.BackOffice.Api.Models.V1"> <Attribute> <BackgroundColor>#9d5151</BackgroundColor> <Description>Gold Room</Description> <FontColor>#000000</FontColor> <Id>0000000005</Id> <ShortName>GR</ShortName> <ShowOnSessionsWithNoComps>false</ShowOnSessionsWithNoComps> </Attribute> <Attribute> <BackgroundColor>#53c338</BackgroundColor> <Description>No Comps</Description> <FontColor>#1c1e1e</FontColor> <Id>0000000007</Id> <ShortName>NC</ShortName> <ShowOnSessionsWithNoComps>true</ShowOnSessionsWithNoComps> </Attribute> </ArrayOfAttribute>
This retrieves just one attribute based on the id. If there is no attribute with this id then a 404 HTTP error is returned.
{ "Id": "0000000005", "Description": "Gold Room", "ShortName": "GR", "FontColor": "#000000", "BackgroundColor": "#9d5151", "ShowOnSessionsWithNoComps": false }
<Attribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vista.Online.BackOffice.Api.Models.V1"> <BackgroundColor>#9d5151</BackgroundColor> <Description>Gold Room</Description> <FontColor>#000000</FontColor> <Id>0000000005</Id> <ShortName>GR</ShortName> <ShowOnSessionsWithNoComps>false</ShowOnSessionsWithNoComps> </Attribute>