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": "f98794b7-de22-4ada-bfc7-89a8d90b551b", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "a226759d-90f9-4b8b-8d97-9071c06ac2cf", "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": "d229b1d0-7522-4da6-a273-5f5764808a0b" }, "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": "c3a11f5d-7d30-445f-9a1b-cbbe16ad855e" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "49a5dcce-ad0a-460d-a680-68ec600faaf2" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "d229b1d0-7522-4da6-a273-5f5764808a0b" }, "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": "c3a11f5d-7d30-445f-9a1b-cbbe16ad855e" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "49a5dcce-ad0a-460d-a680-68ec600faaf2" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "6de76306-e196-4bd8-b300-b0c7e7c441db", "verificationDate": "2024-09-29T13:31:50.8618982-04:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "3c2e4b33-ee90-4a01-bde8-88392e0d7fa6" }
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>3c2e4b33-ee90-4a01-bde8-88392e0d7fa6</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>a226759d-90f9-4b8b-8d97-9071c06ac2cf</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>f98794b7-de22-4ada-bfc7-89a8d90b551b</Id> <LastName>sample string 7</LastName> <OneId>6de76306-e196-4bd8-b300-b0c7e7c441db</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>49a5dcce-ad0a-460d-a680-68ec600faaf2</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>d229b1d0-7522-4da6-a273-5f5764808a0b</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>c3a11f5d-7d30-445f-9a1b-cbbe16ad855e</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>49a5dcce-ad0a-460d-a680-68ec600faaf2</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>d229b1d0-7522-4da6-a273-5f5764808a0b</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>c3a11f5d-7d30-445f-9a1b-cbbe16ad855e</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-09-29T13:31:50.8618982-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": { "2024-09-29T13:31:50.8618982-04:00": 2, "2024-09-29T13:31:50.8628986-04:00": 4 }, "sample string 2": { "2024-09-29T13:31:50.8628986-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>2024-09-29T13:31:50.8618982-04:00</Key> <Value>2</Value> </KeyValueOfdateTimeint> <KeyValueOfdateTimeint> <Key>2024-09-29T13:31:50.8628986-04:00</Key> <Value>4</Value> </KeyValueOfdateTimeint> </Value> </KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> <KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> <Key>sample string 2</Key> <Value> <KeyValueOfdateTimeint> <Key>2024-09-29T13:31:50.8628986-04:00</Key> <Value>2</Value> </KeyValueOfdateTimeint> </Value> </KeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1> </ArrayOfKeyValueOfstringArrayOfKeyValueOfdateTimeintty7Ep6D1>