POST Api/Use/CountAllChildConsumedByTool?Child={Child}&toolId={toolId}&startDate={startDate}&endDate={endDate}&lvl={lvl}&aggregate={aggregate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Child | globally unique identifier |
Required |
|
toolId | integer |
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": "3cf50dec-2e54-480e-b5ab-a44fe463313b", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "55526bdf-4c3c-48d2-8f85-8da277f6f410", "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": "ed7cd354-b1d2-46ae-8a6b-f6b0e3316bca" }, "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": "e9fbc5d0-8eb3-4be0-889d-4def64dd582e" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "acfcac3a-fc9a-4807-9755-f14c52f4505f" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "ed7cd354-b1d2-46ae-8a6b-f6b0e3316bca" }, "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": "e9fbc5d0-8eb3-4be0-889d-4def64dd582e" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "acfcac3a-fc9a-4807-9755-f14c52f4505f" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "63096476-ed16-4de7-97d7-85f47d123823", "verificationDate": "2025-04-04T10:24:18.0054921-04:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "2cbaa1d6-5bef-48c0-a49e-eb3ea5fd19cb" }
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>2cbaa1d6-5bef-48c0-a49e-eb3ea5fd19cb</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>55526bdf-4c3c-48d2-8f85-8da277f6f410</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>3cf50dec-2e54-480e-b5ab-a44fe463313b</Id> <LastName>sample string 7</LastName> <OneId>63096476-ed16-4de7-97d7-85f47d123823</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>acfcac3a-fc9a-4807-9755-f14c52f4505f</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>ed7cd354-b1d2-46ae-8a6b-f6b0e3316bca</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>e9fbc5d0-8eb3-4be0-889d-4def64dd582e</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>acfcac3a-fc9a-4807-9755-f14c52f4505f</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>ed7cd354-b1d2-46ae-8a6b-f6b0e3316bca</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>e9fbc5d0-8eb3-4be0-889d-4def64dd582e</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-04-04T10:24:18.0054921-04:00</VerificationDate> </UserDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of string [key] and Dictionary of date [key] and integer [value] [value]Response Formats
application/json, text/json
Sample:
{ "sample string 1": { "2025-04-04T10:24:18.0060373-04:00": 2 }, "sample string 2": { "2025-04-04T10:24:18.0060373-04:00": 2 } }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> <Key>sample string 1</Key> <Value> <KeyValueOfdateTimeint> <Key>2025-04-04T10:24:18.0060373-04:00</Key> <Value>2</Value> </KeyValueOfdateTimeint> </Value> </KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> <KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> <Key>sample string 2</Key> <Value> <KeyValueOfdateTimeint> <Key>2025-04-04T10:24:18.0060373-04:00</Key> <Value>2</Value> </KeyValueOfdateTimeint> </Value> </KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> </ArrayOfKeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1>