GET Group?aUserId={aUserId}&aGroupId={aGroupId}

Get the assetgroups for a user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aUserId

integer

Required

aGroupId

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AssetGroup
NameDescriptionTypeAdditional information
AssetGroupId

integer

None.

GroupName

string

None.

GroupType

integer

None.

FkUserId

integer

None.

FkClientId

integer

None.

Timestamp

date

None.

Color

string

None.

Client

Client

None.

User

User

None.

AssetGroupItems

Collection of AssetGroupItem

None.

AssetViewerGroups

Collection of AssetViewerGroup

None.

DataTriggers

Collection of DataTrigger

None.

GeoFenceGroupGroupAssignments

Collection of GeoFenceGroupGroupAssignment

None.

TriggerAssetGroupItems

Collection of TriggerAssetGroupItem

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Client' with type 'CheetaCommon.Client'. Path '[0].Client.Agencies[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Client' with type 'CheetaCommon.Client'. Path '[0].Client.Agencies[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Data.Linq.EntitySet`1[[CheetaCommon.ActualAssetRouteAssignment, CheetaCommon, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Data.Linq.EntitySet`1[[CheetaCommon.ActualAssetRouteAssignment, CheetaCommon, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.