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": "7e9832a2-9253-43b4-bfaa-35d7e9151a9f", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "a89ee9c7-6973-4870-9b5a-15baff8b2309", "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": "1397bee1-4909-4fd3-9ece-0a5359af664f" }, "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": "e541da17-b3b2-4a0b-902a-16b7b9f1f0cd" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "36d673c9-a9b5-44f2-afd6-d7bdf4af884e" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "1397bee1-4909-4fd3-9ece-0a5359af664f" }, "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": "e541da17-b3b2-4a0b-902a-16b7b9f1f0cd" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "36d673c9-a9b5-44f2-afd6-d7bdf4af884e" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "85390ede-d484-4294-b3ba-d6b9eba80945", "verificationDate": "2024-11-21T04:10:30.6471852-05:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "1cd8955c-ec7a-42bb-ab32-519532b1c1bb" }
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>1cd8955c-ec7a-42bb-ab32-519532b1c1bb</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>a89ee9c7-6973-4870-9b5a-15baff8b2309</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>7e9832a2-9253-43b4-bfaa-35d7e9151a9f</Id> <LastName>sample string 7</LastName> <OneId>85390ede-d484-4294-b3ba-d6b9eba80945</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>36d673c9-a9b5-44f2-afd6-d7bdf4af884e</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>1397bee1-4909-4fd3-9ece-0a5359af664f</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>e541da17-b3b2-4a0b-902a-16b7b9f1f0cd</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>36d673c9-a9b5-44f2-afd6-d7bdf4af884e</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>1397bee1-4909-4fd3-9ece-0a5359af664f</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>e541da17-b3b2-4a0b-902a-16b7b9f1f0cd</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>2024-11-21T04:10:30.6471852-05: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": { "2024-11-21T04:10:30.6491896-05:00": 2, "2024-11-21T04:10:30.6521859-05:00": 4 }, "sample string 2": { "2024-11-21T04:10:30.6521859-05: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>2024-11-21T04:10:30.6491896-05:00</Key> <Value>2</Value> </KeyValueOfdateTimeint> <KeyValueOfdateTimeint> <Key>2024-11-21T04:10:30.6521859-05:00</Key> <Value>4</Value> </KeyValueOfdateTimeint> </Value> </KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> <KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> <Key>sample string 2</Key> <Value> <KeyValueOfdateTimeint> <Key>2024-11-21T04:10:30.6521859-05:00</Key> <Value>2</Value> </KeyValueOfdateTimeint> </Value> </KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> </ArrayOfKeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1>