POST api/Account
Request Information
URI Parameters
None.
Body Parameters
BaseUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleId | integer |
None. |
|
| UserName | string |
None. |
|
| LoginName | string |
None. |
|
| Password | string |
None. |
|
| FacebookToken | string |
None. |
|
| Active | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| AgreementContent | boolean |
None. |
|
| AgreementTelephone | boolean |
None. |
|
| AgreementEMail | boolean |
None. |
|
| AgreementSMS | boolean |
None. |
|
| Reset | globally unique identifier |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| LastUpdated | date |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleId": 1,
"UserName": "sample string 1",
"LoginName": "sample string 2",
"Password": "sample string 3",
"FacebookToken": "sample string 4",
"Active": true,
"IsDeleted": true,
"AgreementContent": true,
"AgreementTelephone": true,
"AgreementEMail": true,
"AgreementSMS": true,
"Reset": "e9ba40d4-384f-4e4c-9c29-5f18ab24e017",
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:26:08.9855427+00:00",
"LastUpdated": "2026-03-20T14:26:08.9855427+00:00",
"Id": 1
}
application/xml, text/xml
Sample:
<BaseUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.DataModels"> <Id>1</Id> <CreatedDate>2026-03-20T14:26:08.9855427+00:00</CreatedDate> <LastUpdated>2026-03-20T14:26:08.9855427+00:00</LastUpdated> <CreatedBy>1</CreatedBy> <ModifiedBy>1</ModifiedBy> <Active>true</Active> <AgreementContent>true</AgreementContent> <AgreementEMail>true</AgreementEMail> <AgreementSMS>true</AgreementSMS> <AgreementTelephone>true</AgreementTelephone> <FacebookToken>sample string 4</FacebookToken> <IsDeleted>true</IsDeleted> <LoginName>sample string 2</LoginName> <Password>sample string 3</Password> <Reset>e9ba40d4-384f-4e4c-9c29-5f18ab24e017</Reset> <RoleId>1</RoleId> <UserName>sample string 1</UserName> </BaseUserModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>