POST Api/Session/IsValid
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": "7a4724c9-1df6-4668-b40a-7288603c4aee", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "c3788e71-87ce-4bc4-9706-ac124250637c", "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": "e7146716-7125-4cd2-8e9f-8d8665aaa96c" }, "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": "07cb35f6-3d4d-4f77-bb50-18f19c3cd914" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "0a47d49b-40b1-431a-a51f-969f776806cb" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "e7146716-7125-4cd2-8e9f-8d8665aaa96c" }, "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": "07cb35f6-3d4d-4f77-bb50-18f19c3cd914" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "0a47d49b-40b1-431a-a51f-969f776806cb" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "b282eb91-7c11-4181-ade6-f0993e6fb620", "verificationDate": "2024-09-29T20:28:38.2725088-04:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "fbf3886a-140a-48bd-92dd-c6a40fbe33ea" }
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>fbf3886a-140a-48bd-92dd-c6a40fbe33ea</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>c3788e71-87ce-4bc4-9706-ac124250637c</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>7a4724c9-1df6-4668-b40a-7288603c4aee</Id> <LastName>sample string 7</LastName> <OneId>b282eb91-7c11-4181-ade6-f0993e6fb620</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>0a47d49b-40b1-431a-a51f-969f776806cb</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>e7146716-7125-4cd2-8e9f-8d8665aaa96c</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>07cb35f6-3d4d-4f77-bb50-18f19c3cd914</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>0a47d49b-40b1-431a-a51f-969f776806cb</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>e7146716-7125-4cd2-8e9f-8d8665aaa96c</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>07cb35f6-3d4d-4f77-bb50-18f19c3cd914</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-29T20:28:38.2725088-04:00</VerificationDate> </UserDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>