GET api/buildings/{buildingId}/collectionsactions/{actionId}/attributes
GET: api/buildings/{buildingId}/collectionsactions/{actionId}/attributes Get attributes associated with an action filtered by building
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
actionId |
|
integer |
Required |
buildingId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of CollectionsActionAttributeReturnViewModel
Collection of CollectionsActionAttributeReturnViewModelName | Description | Type | Additional information |
---|---|---|---|
ActionAttributeId |
Id |
integer |
None. |
ActionAttributeName |
Action Attribute name |
string |
None. |
ParentActionAttributeId |
Parent Action Attribute Id |
integer |
None. |
ActionAttributeValue |
Action Attribute Value |
string |
None. |
ActionAttributeModifiedBy |
Action Attribute Modified By |
integer |
None. |
ActionAttributeModifiedOn |
Action Attribute Modified On |
date |
None. |
DataTypeName |
Data Type Name |
string |
None. |
IsNonTemplateSpecific |
IsNonTemplateSpecific |
boolean |
None. |
CollectionsActionAttributeValidators |
Collection Action Attribute Validators |
Collection of CollectionsActionAttributeValidatorReturnViewModel |
None. |
CollectionsAttributeDataTypeDescriptors |
Collections Attribute Data Type Descriptors |
Collection of CollectionsAttributeDataTypeDescriptorReturnViewModel |
None. |
Response Formats
application/json, text/json
[ { "actionAttributeId": 1, "actionAttributeName": "sample string 2", "parentActionAttributeId": 1, "actionAttributeValue": "sample string 3", "actionAttributeModifiedBy": 4, "actionAttributeModifiedOn": "2025-04-03T18:09:10.6683803-04:00", "dataTypeName": "sample string 6", "isNonTemplateSpecific": true, "collectionsActionAttributeValidators": [ { "dataValidatorName": "sample string 1", "dataValidatorValue": "sample string 2", "isNonTemplateSpecific": true }, { "dataValidatorName": "sample string 1", "dataValidatorValue": "sample string 2", "isNonTemplateSpecific": true } ], "collectionsAttributeDataTypeDescriptors": [ { "collectionsAttributeDataSources": [ { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" }, { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" } ], "dataTypeDescriptorName": "sample string 1" }, { "collectionsAttributeDataSources": [ { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" }, { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" } ], "dataTypeDescriptorName": "sample string 1" } ] }, { "actionAttributeId": 1, "actionAttributeName": "sample string 2", "parentActionAttributeId": 1, "actionAttributeValue": "sample string 3", "actionAttributeModifiedBy": 4, "actionAttributeModifiedOn": "2025-04-03T18:09:10.6683803-04:00", "dataTypeName": "sample string 6", "isNonTemplateSpecific": true, "collectionsActionAttributeValidators": [ { "dataValidatorName": "sample string 1", "dataValidatorValue": "sample string 2", "isNonTemplateSpecific": true }, { "dataValidatorName": "sample string 1", "dataValidatorValue": "sample string 2", "isNonTemplateSpecific": true } ], "collectionsAttributeDataTypeDescriptors": [ { "collectionsAttributeDataSources": [ { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" }, { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" } ], "dataTypeDescriptorName": "sample string 1" }, { "collectionsAttributeDataSources": [ { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" }, { "value": "sample string 1", "name": "sample string 2", "description": "sample string 3", "displayOrder": "sample string 4" } ], "dataTypeDescriptorName": "sample string 1" } ] } ]
application/xml, text/xml
<ArrayOfCollectionsActionAttributeReturnViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <CollectionsActionAttributeReturnViewModel> <ActionAttributeId>1</ActionAttributeId> <ActionAttributeModifiedBy>4</ActionAttributeModifiedBy> <ActionAttributeModifiedOn>2025-04-03T18:09:10.6683803-04:00</ActionAttributeModifiedOn> <ActionAttributeName>sample string 2</ActionAttributeName> <ActionAttributeValue>sample string 3</ActionAttributeValue> <CollectionsActionAttributeValidators> <CollectionsActionAttributeValidatorReturnViewModel> <DataValidatorName>sample string 1</DataValidatorName> <DataValidatorValue>sample string 2</DataValidatorValue> </CollectionsActionAttributeValidatorReturnViewModel> <CollectionsActionAttributeValidatorReturnViewModel> <DataValidatorName>sample string 1</DataValidatorName> <DataValidatorValue>sample string 2</DataValidatorValue> </CollectionsActionAttributeValidatorReturnViewModel> </CollectionsActionAttributeValidators> <CollectionsAttributeDataTypeDescriptors> <CollectionsAttributeDataTypeDescriptorReturnViewModel> <CollectionsAttributeDataSources xmlns:d5p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Collections"> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> </CollectionsAttributeDataSources> <DataTypeDescriptorName>sample string 1</DataTypeDescriptorName> </CollectionsAttributeDataTypeDescriptorReturnViewModel> <CollectionsAttributeDataTypeDescriptorReturnViewModel> <CollectionsAttributeDataSources xmlns:d5p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Collections"> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> </CollectionsAttributeDataSources> <DataTypeDescriptorName>sample string 1</DataTypeDescriptorName> </CollectionsAttributeDataTypeDescriptorReturnViewModel> </CollectionsAttributeDataTypeDescriptors> <DataTypeName>sample string 6</DataTypeName> <IsNonTemplateSpecific>true</IsNonTemplateSpecific> <ParentActionAttributeId>1</ParentActionAttributeId> </CollectionsActionAttributeReturnViewModel> <CollectionsActionAttributeReturnViewModel> <ActionAttributeId>1</ActionAttributeId> <ActionAttributeModifiedBy>4</ActionAttributeModifiedBy> <ActionAttributeModifiedOn>2025-04-03T18:09:10.6683803-04:00</ActionAttributeModifiedOn> <ActionAttributeName>sample string 2</ActionAttributeName> <ActionAttributeValue>sample string 3</ActionAttributeValue> <CollectionsActionAttributeValidators> <CollectionsActionAttributeValidatorReturnViewModel> <DataValidatorName>sample string 1</DataValidatorName> <DataValidatorValue>sample string 2</DataValidatorValue> </CollectionsActionAttributeValidatorReturnViewModel> <CollectionsActionAttributeValidatorReturnViewModel> <DataValidatorName>sample string 1</DataValidatorName> <DataValidatorValue>sample string 2</DataValidatorValue> </CollectionsActionAttributeValidatorReturnViewModel> </CollectionsActionAttributeValidators> <CollectionsAttributeDataTypeDescriptors> <CollectionsAttributeDataTypeDescriptorReturnViewModel> <CollectionsAttributeDataSources xmlns:d5p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Collections"> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> </CollectionsAttributeDataSources> <DataTypeDescriptorName>sample string 1</DataTypeDescriptorName> </CollectionsAttributeDataTypeDescriptorReturnViewModel> <CollectionsAttributeDataTypeDescriptorReturnViewModel> <CollectionsAttributeDataSources xmlns:d5p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Collections"> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:CollectionsAttributeDataSourceViewModel> <d5p1:Description>sample string 3</d5p1:Description> <d5p1:DisplayOrder>sample string 4</d5p1:DisplayOrder> <d5p1:Name>sample string 2</d5p1:Name> <d5p1:Value>sample string 1</d5p1:Value> </d5p1:CollectionsAttributeDataSourceViewModel> </CollectionsAttributeDataSources> <DataTypeDescriptorName>sample string 1</DataTypeDescriptorName> </CollectionsAttributeDataTypeDescriptorReturnViewModel> </CollectionsAttributeDataTypeDescriptors> <DataTypeName>sample string 6</DataTypeName> <IsNonTemplateSpecific>true</IsNonTemplateSpecific> <ParentActionAttributeId>1</ParentActionAttributeId> </CollectionsActionAttributeReturnViewModel> </ArrayOfCollectionsActionAttributeReturnViewModel>