POST Api/Account/AccountProfile?sessionID={sessionID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionID

string

Required

Body Parameters

AccountProfile
NameDescriptionTypeAdditional information
avatar_url

string

None.

ename

string

None.

tname

string

None.

tel

string

None.

email

string

None.

username

string

None.

title

string

None.

fname

string

None.

lname

string

None.

gname

string

None.

contact1_json

string

None.

contact2_json

string

None.

BillCustomers

Dictionary of string [key] and string [value]

None.

province

string

None.

zipcode

string

None.

address

string

None.

mobile_phone

string

None.

lineid

string

None.

ctel

string

None.

ctel_m

string

None.

opassword

string

None.

npassword

string

None.

ncpassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "avatar_url": "sample string 1",
  "ename": "sample string 2",
  "tname": "sample string 3",
  "tel": "sample string 4",
  "email": "sample string 5",
  "username": "sample string 6",
  "title": "sample string 7",
  "fname": "sample string 8",
  "lname": "sample string 9",
  "gname": "sample string 10",
  "contact1_json": "sample string 11",
  "contact2_json": "sample string 12",
  "BillCustomers": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "province": "sample string 13",
  "zipcode": "sample string 14",
  "address": "sample string 15",
  "mobile_phone": "sample string 16",
  "lineid": "sample string 17",
  "ctel": "sample string 18",
  "ctel_m": "sample string 19",
  "opassword": "sample string 20",
  "npassword": "sample string 21",
  "ncpassword": "sample string 22"
}

application/xml, text/xml

Sample:
<AccountProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONL.WebGen2RestService.Models">
  <BillCustomers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </BillCustomers>
  <address>sample string 15</address>
  <avatar_url>sample string 1</avatar_url>
  <contact1_json>sample string 11</contact1_json>
  <contact2_json>sample string 12</contact2_json>
  <ctel>sample string 18</ctel>
  <ctel_m>sample string 19</ctel_m>
  <email>sample string 5</email>
  <ename>sample string 2</ename>
  <fname>sample string 8</fname>
  <gname>sample string 10</gname>
  <lineid>sample string 17</lineid>
  <lname>sample string 9</lname>
  <mobile_phone>sample string 16</mobile_phone>
  <ncpassword>sample string 22</ncpassword>
  <npassword>sample string 21</npassword>
  <opassword>sample string 20</opassword>
  <province>sample string 13</province>
  <tel>sample string 4</tel>
  <title>sample string 7</title>
  <tname>sample string 3</tname>
  <username>sample string 6</username>
  <zipcode>sample string 14</zipcode>
</AccountProfile>

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.