POST Api/User/AddUser?_custNo={_custNo}&_userName={_userName}&_cust_Contact={_cust_Contact}&_FirstName={_FirstName}&_LastName={_LastName}&_AccountName={_AccountName}&_EmailAddress={_EmailAddress}&_password={_password}&newuser={newuser}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
_custNo | string |
Required |
|
_userName | string |
Required |
|
_cust_Contact | string |
Required |
|
_FirstName | string |
Required |
|
_LastName | string |
Required |
|
_AccountName | string |
Required |
|
_EmailAddress | string |
Required |
|
_password | string |
Required |
|
newuser | 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": "3892f9d9-be48-40ef-9596-13bb30a7006d", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "70be30fc-487c-4268-a08f-d60bc8bb41de", "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": "414e1c0b-224b-4393-afc1-86d2bf08fb87" }, "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": "a7725d9e-ecd4-409a-9988-dd980afe3f9d" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "3fc71496-6aa8-40c1-9e44-fbabe37b8a28" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "414e1c0b-224b-4393-afc1-86d2bf08fb87" }, "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": "a7725d9e-ecd4-409a-9988-dd980afe3f9d" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "3fc71496-6aa8-40c1-9e44-fbabe37b8a28" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "879455d2-230e-4ca8-ba56-6f8944fcff82", "verificationDate": "2025-04-04T10:04:23.5348592-04:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "b8bde2ea-3fd8-4429-bc1d-e37ea48d83e0" }
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>b8bde2ea-3fd8-4429-bc1d-e37ea48d83e0</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>70be30fc-487c-4268-a08f-d60bc8bb41de</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>3892f9d9-be48-40ef-9596-13bb30a7006d</Id> <LastName>sample string 7</LastName> <OneId>879455d2-230e-4ca8-ba56-6f8944fcff82</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>3fc71496-6aa8-40c1-9e44-fbabe37b8a28</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>414e1c0b-224b-4393-afc1-86d2bf08fb87</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>a7725d9e-ecd4-409a-9988-dd980afe3f9d</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>3fc71496-6aa8-40c1-9e44-fbabe37b8a28</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>414e1c0b-224b-4393-afc1-86d2bf08fb87</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>a7725d9e-ecd4-409a-9988-dd980afe3f9d</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:04:23.5348592-04:00</VerificationDate> </UserDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
{ "id": "ed7121a3-519a-45d0-9d47-cd57180685a6", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "a1ec4384-2025-46fe-af7c-78235b2dbaac", "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": "d8344c82-1d00-4f6d-a79c-2843acd0c74e" }, "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": "b59fa8b2-e70a-4548-b8a6-b286429c3d9b" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "f8bf18bf-c9c4-4483-8c0a-2ea0ddab7ab6" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "d8344c82-1d00-4f6d-a79c-2843acd0c74e" }, "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": "b59fa8b2-e70a-4548-b8a6-b286429c3d9b" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "f8bf18bf-c9c4-4483-8c0a-2ea0ddab7ab6" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "d8b66013-2994-483e-84a3-cfb72f6c22ea", "verificationDate": "2025-04-04T10:04:23.5348592-04:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "48da8c29-01cb-4b55-8eaf-065984f2c990" }
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>48da8c29-01cb-4b55-8eaf-065984f2c990</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>a1ec4384-2025-46fe-af7c-78235b2dbaac</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>ed7121a3-519a-45d0-9d47-cd57180685a6</Id> <LastName>sample string 7</LastName> <OneId>d8b66013-2994-483e-84a3-cfb72f6c22ea</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>f8bf18bf-c9c4-4483-8c0a-2ea0ddab7ab6</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>d8344c82-1d00-4f6d-a79c-2843acd0c74e</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>b59fa8b2-e70a-4548-b8a6-b286429c3d9b</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>f8bf18bf-c9c4-4483-8c0a-2ea0ddab7ab6</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>d8344c82-1d00-4f6d-a79c-2843acd0c74e</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>b59fa8b2-e70a-4548-b8a6-b286429c3d9b</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:04:23.5348592-04:00</VerificationDate> </UserDTO>