POST account/register

Request Information

URI Parameters

None.

Body Parameters

Account
NameDescriptionTypeAdditional information
id

integer

None.

username

string

None.

password

string

None.

full_name

string

None.

email

string

None.

phone

string

None.

address

string

None.

sex

boolean

None.

birthday

date

None.

last_login

date

None.

device

string

None.

status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "username": "sample string 2",
  "password": "sample string 3",
  "full_name": "sample string 4",
  "email": "sample string 5",
  "phone": "sample string 6",
  "address": "sample string 7",
  "sex": true,
  "birthday": "2024-12-03T03:27:48.3450507+07:00",
  "last_login": "2024-12-03T03:27:48.3450507+07:00",
  "device": "sample string 11",
  "status": 12
}

application/xml, text/xml

Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/uBase.DataAccess.Model">
  <address>sample string 7</address>
  <birthday>2024-12-03T03:27:48.3450507+07:00</birthday>
  <device>sample string 11</device>
  <email>sample string 5</email>
  <full_name>sample string 4</full_name>
  <id>1</id>
  <last_login>2024-12-03T03:27:48.3450507+07:00</last_login>
  <password>sample string 3</password>
  <phone>sample string 6</phone>
  <sex>true</sex>
  <status>12</status>
  <username>sample string 2</username>
</Account>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.