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": "65cd6e92-a60e-4f98-9518-13caf0c7fc6b", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "d01d3b9f-57fc-485f-9d43-a14929d1fe11", "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": "516840f7-9ea4-4e72-8cd2-b025d2ce823c" }, "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": "96c818ce-d4ab-471d-9c9d-6b61eeb06702" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "2a4d99e2-2b92-4cc8-98a7-10374ef032c3" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "516840f7-9ea4-4e72-8cd2-b025d2ce823c" }, "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": "96c818ce-d4ab-471d-9c9d-6b61eeb06702" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "2a4d99e2-2b92-4cc8-98a7-10374ef032c3" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "8718f349-adeb-4162-b441-08b7b6cb2626", "verificationDate": "2024-11-21T04:23:43.5347552-05:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "f29706ec-522a-4f63-b7aa-f5df3871e68c" }
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>f29706ec-522a-4f63-b7aa-f5df3871e68c</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>d01d3b9f-57fc-485f-9d43-a14929d1fe11</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>65cd6e92-a60e-4f98-9518-13caf0c7fc6b</Id> <LastName>sample string 7</LastName> <OneId>8718f349-adeb-4162-b441-08b7b6cb2626</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>2a4d99e2-2b92-4cc8-98a7-10374ef032c3</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>516840f7-9ea4-4e72-8cd2-b025d2ce823c</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>96c818ce-d4ab-471d-9c9d-6b61eeb06702</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>2a4d99e2-2b92-4cc8-98a7-10374ef032c3</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>516840f7-9ea4-4e72-8cd2-b025d2ce823c</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>96c818ce-d4ab-471d-9c9d-6b61eeb06702</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:23:43.5347552-05: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": "5958a7aa-03b4-4017-8df5-6fd585224fb8", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "ba8af4ad-47a5-4082-be78-48328ef30d56", "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": "ce3e1a65-762e-4ffe-8ea3-891dd5b55bc8" }, "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": "106ef328-8c23-4aec-a4f2-c7034782126e" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "cc87959c-0c2e-4129-b415-42befe483d63" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "ce3e1a65-762e-4ffe-8ea3-891dd5b55bc8" }, "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": "106ef328-8c23-4aec-a4f2-c7034782126e" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "cc87959c-0c2e-4129-b415-42befe483d63" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "22c5d606-a3d0-4409-810d-845a921a3abd", "verificationDate": "2024-11-21T04:23:43.5357545-05:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "5e997b72-d79b-42b0-8bb3-1231836c4cb2" }
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>5e997b72-d79b-42b0-8bb3-1231836c4cb2</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>ba8af4ad-47a5-4082-be78-48328ef30d56</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>5958a7aa-03b4-4017-8df5-6fd585224fb8</Id> <LastName>sample string 7</LastName> <OneId>22c5d606-a3d0-4409-810d-845a921a3abd</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>cc87959c-0c2e-4129-b415-42befe483d63</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>ce3e1a65-762e-4ffe-8ea3-891dd5b55bc8</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>106ef328-8c23-4aec-a4f2-c7034782126e</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>cc87959c-0c2e-4129-b415-42befe483d63</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>ce3e1a65-762e-4ffe-8ea3-891dd5b55bc8</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>106ef328-8c23-4aec-a4f2-c7034782126e</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:23:43.5357545-05:00</VerificationDate> </UserDTO>