POST api/Adminflights/updateProfile
Request Information
URI Parameters
None.
Body Parameters
updateProfileView| Name | Description | Type | Additional information |
|---|---|---|---|
| fname | string |
None. |
|
| lname | string |
None. |
|
| phone | string |
None. |
|
| address | string |
None. |
|
| city | string |
None. |
|
| state | string |
None. |
|
| country | string |
None. |
|
| zip | string |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"fname": "sample string 1",
"lname": "sample string 2",
"phone": "sample string 3",
"address": "sample string 4",
"city": "sample string 5",
"state": "sample string 6",
"country": "sample string 7",
"zip": "sample string 8",
"UserID": 9
}
application/xml, text/xml
Sample:
<AdminController.updateProfileView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Travel.API.Controllers.TravelFlight"> <UserID>9</UserID> <address>sample string 4</address> <city>sample string 5</city> <country>sample string 7</country> <fname>sample string 1</fname> <lname>sample string 2</lname> <phone>sample string 3</phone> <state>sample string 6</state> <zip>sample string 8</zip> </AdminController.updateProfileView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |