POST api/user/save_base_info

Request Information

URI Parameters

None.

Body Parameters

SaveBaseInfoRequest
NameDescriptionTypeAdditional information
is_debug

boolean

None.

is_onekey

boolean

None.

sms_code

string

None.

country_code

string

None.

mobile

string

None.

avatar_file_guid

string

None.

sex

UserSexEnum

None.

nickname

string

None.

birthday

date

None.

invite

string

None.

Request Formats

application/json, text/json

Sample:
{
  "is_debug": true,
  "is_onekey": true,
  "sms_code": "sample string 3",
  "country_code": "sample string 4",
  "mobile": "sample string 5",
  "avatar_file_guid": "sample string 6",
  "sex": 0,
  "nickname": "sample string 7",
  "birthday": "2024-09-29T09:30:17.3397678+08:00",
  "invite": "sample string 9"
}

application/xml, text/xml

Sample:
<SaveBaseInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeMe.ViewModel.ApiModel.Request">
  <avatar_file_guid>sample string 6</avatar_file_guid>
  <birthday>2024-09-29T09:30:17.3397678+08:00</birthday>
  <country_code>sample string 4</country_code>
  <invite>sample string 9</invite>
  <is_debug>true</is_debug>
  <is_onekey>true</is_onekey>
  <mobile>sample string 5</mobile>
  <nickname>sample string 7</nickname>
  <sex>未知</sex>
  <sms_code>sample string 3</sms_code>
</SaveBaseInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />