POST
http://appapi.sunhouse.com.vn/api/CustomerAccount/CreateUserInfo

Khởi tạo người dùng

Yêu cầu

URI Parameters

None.

Body Parameters

RegisCustomerAccountObj
NameDescriptionTypeAdditional information
customergroup

string

None.

Loginname

string

None.

Fullname

string

None.

Password

string

None.

Email

string

None.

Phonenumber

string

None.

Address

string

None.

Provinceid

integer

None.

Districtid

integer

None.

Communeid

integer

None.

Bankname

string

None.

Bankagency

string

None.

Bankaccountowner

string

None.

Bankaccount

string

None.

tokenkey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customergroup": "sample string 1",
  "Loginname": "sample string 2",
  "Fullname": "sample string 3",
  "Password": "sample string 4",
  "Email": "sample string 5",
  "Phonenumber": "sample string 6",
  "Address": "sample string 7",
  "Provinceid": 8,
  "Districtid": 9,
  "Communeid": 10,
  "Bankname": "sample string 11",
  "Bankagency": "sample string 12",
  "Bankaccountowner": "sample string 13",
  "Bankaccount": "sample string 14",
  "tokenkey": "sample string 15"
}

application/xml, text/xml

Sample:
<RegisCustomerAccountObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.Mobile.API.Models">
  <Address>sample string 7</Address>
  <Bankaccount>sample string 14</Bankaccount>
  <Bankaccountowner>sample string 13</Bankaccountowner>
  <Bankagency>sample string 12</Bankagency>
  <Bankname>sample string 11</Bankname>
  <Communeid>10</Communeid>
  <Districtid>9</Districtid>
  <Email>sample string 5</Email>
  <Fullname>sample string 3</Fullname>
  <Loginname>sample string 2</Loginname>
  <Password>sample string 4</Password>
  <Phonenumber>sample string 6</Phonenumber>
  <Provinceid>8</Provinceid>
  <customergroup>sample string 1</customergroup>
  <tokenkey>sample string 15</tokenkey>
</RegisCustomerAccountObj>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegisCustomerAccountObj'.

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.