POST Api/Use/CountAllChildConsumedByDate?Child={Child}&startDate={startDate}&endDate={endDate}&lvl={lvl}&aggregate={aggregate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Child | globally unique identifier |
Required |
|
startDate | date |
Required |
|
endDate | date |
Required |
|
lvl | UserTraversal |
Required |
|
aggregate | boolean |
Default value is False |
Body Parameters
UserDTOName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
|
string |
None. |
||
AccountId | globally unique identifier |
None. |
|
UserType | UserTypeDTO |
None. |
|
Products | Collection of ProductDTO |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
OneId | globally unique identifier |
None. |
|
VerificationDate | date |
None. |
|
VerificationCode | string |
None. |
|
ClientPublicKey | string |
None. |
|
SecurityToken | string |
None. |
|
CurrentUserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "56e5feb7-6595-4dcf-b1ba-76d76517d139", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "fecf1f29-d5eb-4547-8ffd-b26805464c92", "userType": { "id": 1, "name": "sample string 2", "description": "sample string 3" }, "products": [ { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "0f0c818d-70be-4664-b3d9-26616f7c9501" }, "tool": { "id": 1, "name": "sample string 2", "shortName": "sample string 3", "logoUrl": "sample string 4", "order": 5, "description": "sample string 6", "author": "sample string 7", "ageRange": "sample string 8", "clientPublicKey": "sample string 9", "securityToken": "sample string 10", "currentUserId": "200b2860-d94c-416b-8176-5addc8fc7036" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "680766b2-f74f-4b59-8168-f4eae1af7f24" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "0f0c818d-70be-4664-b3d9-26616f7c9501" }, "tool": { "id": 1, "name": "sample string 2", "shortName": "sample string 3", "logoUrl": "sample string 4", "order": 5, "description": "sample string 6", "author": "sample string 7", "ageRange": "sample string 8", "clientPublicKey": "sample string 9", "securityToken": "sample string 10", "currentUserId": "200b2860-d94c-416b-8176-5addc8fc7036" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "680766b2-f74f-4b59-8168-f4eae1af7f24" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "98365d17-9591-4ad3-b373-2c7098f8f6c5", "verificationDate": "2025-01-27T23:06:30.4459529-05:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "ebe0ddf2-a36f-46fb-b992-f139e031ecd2" }
application/xml, text/xml
Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO"> <ClientPublicKey>sample string 10</ClientPublicKey> <CurrentUserId>ebe0ddf2-a36f-46fb-b992-f139e031ecd2</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>fecf1f29-d5eb-4547-8ffd-b26805464c92</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>56e5feb7-6595-4dcf-b1ba-76d76517d139</Id> <LastName>sample string 7</LastName> <OneId>98365d17-9591-4ad3-b373-2c7098f8f6c5</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>680766b2-f74f-4b59-8168-f4eae1af7f24</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>0f0c818d-70be-4664-b3d9-26616f7c9501</CurrentUserId> <SecurityToken>sample string 5</SecurityToken> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </Portal> <Tool> <ClientPublicKey>sample string 9</ClientPublicKey> <CurrentUserId>200b2860-d94c-416b-8176-5addc8fc7036</CurrentUserId> <SecurityToken>sample string 10</SecurityToken> <AgeRange>sample string 8</AgeRange> <Author>sample string 7</Author> <Description>sample string 6</Description> <Id>1</Id> <LogoUrl>sample string 4</LogoUrl> <Name>sample string 2</Name> <Order>5</Order> <ShortName>sample string 3</ShortName> </Tool> </ProductDTO> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>680766b2-f74f-4b59-8168-f4eae1af7f24</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>0f0c818d-70be-4664-b3d9-26616f7c9501</CurrentUserId> <SecurityToken>sample string 5</SecurityToken> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </Portal> <Tool> <ClientPublicKey>sample string 9</ClientPublicKey> <CurrentUserId>200b2860-d94c-416b-8176-5addc8fc7036</CurrentUserId> <SecurityToken>sample string 10</SecurityToken> <AgeRange>sample string 8</AgeRange> <Author>sample string 7</Author> <Description>sample string 6</Description> <Id>1</Id> <LogoUrl>sample string 4</LogoUrl> <Name>sample string 2</Name> <Order>5</Order> <ShortName>sample string 3</ShortName> </Tool> </ProductDTO> </Products> <UserType> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </UserType> <Username>sample string 2</Username> <VerificationCode>sample string 9</VerificationCode> <VerificationDate>2025-01-27T23:06:30.4459529-05:00</VerificationDate> </UserDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of date [key] and Dictionary of integer [key] and integer [value] [value]Response Formats
application/json, text/json
Sample:
{ "2025-01-27T23:06:30.4469522-05:00": { "1": 2, "3": 4 }, "2025-01-27T23:06:30.4499508-05:00": { "1": 2, "3": 4 } }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfdateTimeArrayOfKeyValueOfintintty7Ep6D1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfdateTimeArrayOfKeyValueOfintintty7Ep6D1> <Key>2025-01-27T23:06:30.4469522-05:00</Key> <Value> <KeyValueOfintint> <Key>1</Key> <Value>2</Value> </KeyValueOfintint> <KeyValueOfintint> <Key>3</Key> <Value>4</Value> </KeyValueOfintint> </Value> </KeyValueOfdateTimeArrayOfKeyValueOfintintty7Ep6D1> <KeyValueOfdateTimeArrayOfKeyValueOfintintty7Ep6D1> <Key>2025-01-27T23:06:30.4499508-05:00</Key> <Value> <KeyValueOfintint> <Key>1</Key> <Value>2</Value> </KeyValueOfintint> <KeyValueOfintint> <Key>3</Key> <Value>4</Value> </KeyValueOfintint> </Value> </KeyValueOfdateTimeArrayOfKeyValueOfintintty7Ep6D1> </ArrayOfKeyValueOfdateTimeArrayOfKeyValueOfintintty7Ep6D1>