POST api/Users/AddApplicationUser?app={app}&loginProvider={loginProvider}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| app | string |
Required |
|
| loginProvider | enumLoginProvider |
Default value is Benefit |
Body Parameters
BAuthUser| Name | Description | Type | Additional information |
|---|---|---|---|
| USR_Id | integer |
None. |
|
| USR_Guid | globally unique identifier |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
|
| TwoFactorEnabled | boolean |
None. |
|
| TwoFactorProvider | byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"USR_Id": 1,
"USR_Guid": "1f967ebf-a5df-4915-91ba-e8d38f965656",
"Username": "sample string 1",
"Password": "sample string 2",
"TwoFactorEnabled": true,
"TwoFactorProvider": 64
}
application/xml, text/xml
Sample:
<BAuthUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BenefitSoftware.Base.Common"> <Password>sample string 2</Password> <TwoFactorEnabled>true</TwoFactorEnabled> <TwoFactorProvider>64</TwoFactorProvider> <USR_Guid>1f967ebf-a5df-4915-91ba-e8d38f965656</USR_Guid> <USR_Id>1</USR_Id> <Username>sample string 1</Username> </BAuthUser>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.