POST Api/Product/GetByUser
Request Information
URI Parameters
None.
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": "5da8cc57-824d-4a8a-a4a1-f6ced4ccb427", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "b7cab4cf-f21b-4bf0-ba2c-1e26dc45cbb9", "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": "5e5b3804-3298-4775-afcd-6c6dce5feae5" }, "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": "4ee38cfe-e1b6-40f7-aa79-dfc0b74418bb" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "044cdb2f-e351-44da-b398-0f52f3367821" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "5e5b3804-3298-4775-afcd-6c6dce5feae5" }, "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": "4ee38cfe-e1b6-40f7-aa79-dfc0b74418bb" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "044cdb2f-e351-44da-b398-0f52f3367821" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "f7b9f3fe-20a0-46cb-9578-7c532e334236", "verificationDate": "2025-01-28T18:36:43.048117-05:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "cc33cad1-2a19-4d9b-93cf-85c6132f8c3c" }
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>cc33cad1-2a19-4d9b-93cf-85c6132f8c3c</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>b7cab4cf-f21b-4bf0-ba2c-1e26dc45cbb9</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>5da8cc57-824d-4a8a-a4a1-f6ced4ccb427</Id> <LastName>sample string 7</LastName> <OneId>f7b9f3fe-20a0-46cb-9578-7c532e334236</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>044cdb2f-e351-44da-b398-0f52f3367821</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>5e5b3804-3298-4775-afcd-6c6dce5feae5</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>4ee38cfe-e1b6-40f7-aa79-dfc0b74418bb</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>044cdb2f-e351-44da-b398-0f52f3367821</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>5e5b3804-3298-4775-afcd-6c6dce5feae5</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>4ee38cfe-e1b6-40f7-aa79-dfc0b74418bb</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-28T18:36:43.048117-05:00</VerificationDate> </UserDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ProductDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Portal | PortalDTO |
None. |
|
Tool | ToolDTO |
None. |
|
ClientPublicKey | string |
None. |
|
SecurityToken | string |
None. |
|
CurrentUserId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "54de98a6-1d46-42d8-a5eb-7c2b1b558ccd" }, "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": "e1fac56e-4ea1-4546-b443-1203a2039b11" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "e1b36aaf-6acf-434d-b443-6e8047d32c44" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "54de98a6-1d46-42d8-a5eb-7c2b1b558ccd" }, "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": "e1fac56e-4ea1-4546-b443-1203a2039b11" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "e1b36aaf-6acf-434d-b443-6e8047d32c44" } ]
application/xml, text/xml
Sample:
<ArrayOfProductDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO"> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>e1b36aaf-6acf-434d-b443-6e8047d32c44</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>54de98a6-1d46-42d8-a5eb-7c2b1b558ccd</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>e1fac56e-4ea1-4546-b443-1203a2039b11</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>e1b36aaf-6acf-434d-b443-6e8047d32c44</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>54de98a6-1d46-42d8-a5eb-7c2b1b558ccd</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>e1fac56e-4ea1-4546-b443-1203a2039b11</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> </ArrayOfProductDTO>