POST api/Admin/Users/{username}
Create a new application user given an active directory username
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
Body Parameters
AzureUserExtData| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Name | string |
None. |
|
| Surname | string |
None. |
|
| IsExternal | boolean |
None. |
|
| EmailWithOutDomain | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"name": "sample string 2",
"surname": "string 2",
"isExternal": true,
"emailWithOutDomain": "sample string 1"
}
text/html
Sample:
{"username":"sample string 1","name":"sample string 2","surname":"string 2","isExternal":true,"emailWithOutDomain":"sample string 1"}
application/xml, text/xml
Sample:
<AzureUserExtData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.IdentityModule.Domain.Aggregates.ApplicationUserAgg"> <IsExternal>true</IsExternal> <Name>sample string 2</Name> <Username>sample string 1</Username> </AzureUserExtData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfApplicationUserDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApplicationUserDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.