POST api/account/UpdateProfile
Request Information
URI Parameters
None.
Body Parameters
DTOUpdateProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| FirstName | string |
None. |
|
| MiddleName | string |
None. |
|
| LastName | string |
None. |
|
| PassportNumber | string |
None. |
|
| DateOfBirth | date |
None. |
|
| CNICNumber | string |
None. |
|
| PicturePath | string |
None. |
|
| PhoneNumber | string |
None. |
|
| GenderId | globally unique identifier |
None. |
|
| MaritalStatusId | globally unique identifier |
None. |
|
| BloodGroupId | globally unique identifier |
None. |
|
| CountryId | globally unique identifier |
None. |
|
| StateOrProvinceId | globally unique identifier |
None. |
|
| CityId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "b0f9adbc-a10f-43d1-bc25-0644662d2d54",
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"PassportNumber": "sample string 4",
"DateOfBirth": "2026-03-18T15:08:26.5361046+05:00",
"CNICNumber": "sample string 6",
"PicturePath": "sample string 7",
"PhoneNumber": "sample string 8",
"GenderId": "defd4f05-84bd-4541-a5e9-6a6668e23384",
"MaritalStatusId": "45192772-e082-4a47-a158-e5eb5b2e416c",
"BloodGroupId": "52d7f364-88f1-41d0-9bf4-ffc9c50c1d7b",
"CountryId": "58015c22-e1fd-4f71-a7b0-88559e67aff4",
"StateOrProvinceId": "769a9967-cc52-4ae7-a801-c61fbd9617ad",
"CityId": "b75e54ff-a837-42c8-a86c-94d1472d9e2e"
}
application/xml, text/xml
Sample:
<DTOUpdateProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HajjAppPortal.BAL.DTOModels"> <BloodGroupId>52d7f364-88f1-41d0-9bf4-ffc9c50c1d7b</BloodGroupId> <CNICNumber>sample string 6</CNICNumber> <CityId>b75e54ff-a837-42c8-a86c-94d1472d9e2e</CityId> <CountryId>58015c22-e1fd-4f71-a7b0-88559e67aff4</CountryId> <DateOfBirth>2026-03-18T15:08:26.5361046+05:00</DateOfBirth> <FirstName>sample string 1</FirstName> <GenderId>defd4f05-84bd-4541-a5e9-6a6668e23384</GenderId> <LastName>sample string 3</LastName> <MaritalStatusId>45192772-e082-4a47-a158-e5eb5b2e416c</MaritalStatusId> <MiddleName>sample string 2</MiddleName> <PassportNumber>sample string 4</PassportNumber> <PhoneNumber>sample string 8</PhoneNumber> <PicturePath>sample string 7</PicturePath> <StateOrProvinceId>769a9967-cc52-4ae7-a801-c61fbd9617ad</StateOrProvinceId> <UserId>b0f9adbc-a10f-43d1-bc25-0644662d2d54</UserId> </DTOUpdateProfile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.