POST api/profile/update
Request Information
URI Parameters
None.
Body Parameters
Profile| Name | Description | Type | Additional information |
|---|---|---|---|
| No | integer |
None. |
|
| FName | string |
None. |
|
| LName | string |
None. |
|
| string |
None. |
||
| Phone1 | string |
None. |
|
| Phone2 | string |
None. |
|
| Phone3 | string |
None. |
|
| Birthday | integer |
None. |
|
| Joiningday | integer |
None. |
|
| Address | string |
None. |
|
| Photo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"No": 1,
"FName": "sample string 2",
"LName": "sample string 3",
"Email": "sample string 4",
"Phone1": "sample string 5",
"Phone2": "sample string 6",
"Phone3": "sample string 7",
"Birthday": 8,
"Joiningday": 9,
"Address": "sample string 10",
"Photo": "sample string 11"
}
application/xml, text/xml
Sample:
<Profile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunlandApi.Models"> <Address>sample string 10</Address> <Birthday>8</Birthday> <Email>sample string 4</Email> <FName>sample string 2</FName> <Joiningday>9</Joiningday> <LName>sample string 3</LName> <No>1</No> <Phone1>sample string 5</Phone1> <Phone2>sample string 6</Phone2> <Phone3>sample string 7</Phone3> <Photo>sample string 11</Photo> </Profile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Results| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": true,
"Message": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<Results xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunlandApi.Models"> <Data /> <Message>sample string 2</Message> <Result>true</Result> </Results>