POST api/Account/EditProfile

Request Information

URI Parameters

None.

Body Parameters

UserProfileModel
NameDescriptionTypeAdditional information
Userid

string

None.

Firstname

string

None.

Lastname

string

None.

Email

string

None.

TitleName

string

None.

PhoneNumber

string

None.

RankName

string

None.

Birthdate

string

None.

Address

string

None.

VillageNo

string

None.

VillageName

string

None.

RoomNo

string

None.

FloorNo

string

None.

SoiName

string

None.

RoadName

string

None.

TumbonId

string

None.

Tumbon

string

None.

AmphurId

string

None.

Amphur

string

None.

ProvinceId

string

None.

Province

string

None.

Postcode

string

None.

ImagePath

string

None.

AcceptPDPP

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Userid": "sample string 1",
  "Firstname": "sample string 2",
  "Lastname": "sample string 3",
  "Email": "sample string 4",
  "TitleName": "sample string 5",
  "PhoneNumber": "sample string 6",
  "RankName": "sample string 7",
  "Birthdate": "sample string 8",
  "Address": "sample string 9",
  "VillageNo": "sample string 10",
  "VillageName": "sample string 11",
  "RoomNo": "sample string 12",
  "FloorNo": "sample string 13",
  "SoiName": "sample string 14",
  "RoadName": "sample string 15",
  "TumbonId": "sample string 16",
  "Tumbon": "sample string 17",
  "AmphurId": "sample string 18",
  "Amphur": "sample string 19",
  "ProvinceId": "sample string 20",
  "Province": "sample string 21",
  "Postcode": "sample string 22",
  "ImagePath": "sample string 23",
  "AcceptPDPP": true
}

application/xml, text/xml

Sample:
<UserProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.AccountModels">
  <AcceptPDPP>true</AcceptPDPP>
  <Address>sample string 9</Address>
  <Amphur>sample string 19</Amphur>
  <AmphurId>sample string 18</AmphurId>
  <Birthdate>sample string 8</Birthdate>
  <Email>sample string 4</Email>
  <Firstname>sample string 2</Firstname>
  <FloorNo>sample string 13</FloorNo>
  <ImagePath>sample string 23</ImagePath>
  <Lastname>sample string 3</Lastname>
  <PhoneNumber>sample string 6</PhoneNumber>
  <Postcode>sample string 22</Postcode>
  <Province>sample string 21</Province>
  <ProvinceId>sample string 20</ProvinceId>
  <RankName>sample string 7</RankName>
  <RoadName>sample string 15</RoadName>
  <RoomNo>sample string 12</RoomNo>
  <SoiName>sample string 14</SoiName>
  <TitleName>sample string 5</TitleName>
  <Tumbon>sample string 17</Tumbon>
  <TumbonId>sample string 16</TumbonId>
  <Userid>sample string 1</Userid>
  <VillageName>sample string 11</VillageName>
  <VillageNo>sample string 10</VillageNo>
</UserProfileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
Data

string

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Status": true,
  "ErrorMessage": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data>sample string 1</Data>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Message>sample string 4</Message>
  <Status>true</Status>
</ResultModelOfstring>