POST api/User/SaveForm?keyValue={keyValue}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
keyValue

string

Required

Body Parameters

RegisterViewModel
NameDescriptionTypeAdditional information
USER_NAME

string

Required

Matching regular expression pattern: ^\w+$

String length: inclusive between 0 and 20

Email

string

Required

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

Hometown

string

None.

USER_NICKNAME

string

None.

CUSTOMER_ID

string

Required

USER_TEL

string

None.

ROLE_ID

string

None.

USER_TYPE

integer

Required

USER_STATE

integer

Required

USER_LEVEL

integer

Required

SERVICE_TIME

date

Required

Permission

string

Required

TwoFactorEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "USER_NAME": "sample string 1",
  "Email": "sample string 2",
  "Password": "sample string 3",
  "ConfirmPassword": "sample string 4",
  "Hometown": "sample string 5",
  "USER_NICKNAME": "sample string 6",
  "CUSTOMER_ID": "sample string 7",
  "USER_TEL": "sample string 8",
  "ROLE_ID": "sample string 9",
  "USER_TYPE": 10,
  "USER_STATE": 11,
  "USER_LEVEL": 12,
  "SERVICE_TIME": "2026-11-16 08:59:24",
  "Permission": "sample string 13",
  "TwoFactorEnabled": true
}

application/xml, text/xml

Sample:
<RegisterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CBL.V12.WebApi.Models">
  <CUSTOMER_ID>sample string 7</CUSTOMER_ID>
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <Email>sample string 2</Email>
  <Hometown>sample string 5</Hometown>
  <Password>sample string 3</Password>
  <Permission>sample string 13</Permission>
  <ROLE_ID>sample string 9</ROLE_ID>
  <SERVICE_TIME>2026-11-16T08:59:24.6313678+08:00</SERVICE_TIME>
  <TwoFactorEnabled>true</TwoFactorEnabled>
  <USER_LEVEL>12</USER_LEVEL>
  <USER_NAME>sample string 1</USER_NAME>
  <USER_NICKNAME>sample string 6</USER_NICKNAME>
  <USER_STATE>11</USER_STATE>
  <USER_TEL>sample string 8</USER_TEL>
  <USER_TYPE>10</USER_TYPE>
</RegisterViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.