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": "946dcb39-885c-4f61-85c0-fb81849dd0f1",
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"PassportNumber": "sample string 4",
"DateOfBirth": "2026-10-27T11:48:03.2180307+05:00",
"CNICNumber": "sample string 6",
"PicturePath": "sample string 7",
"PhoneNumber": "sample string 8",
"GenderId": "14185056-d63d-4fcc-81a2-7ffe65e2cced",
"MaritalStatusId": "d4c7db8b-374e-47cd-b9f4-57987067faf0",
"BloodGroupId": "a318c612-7d1b-45a8-9a23-88ac50e3eeef",
"CountryId": "143836a2-ed26-43cc-960c-df29e7620b9c",
"StateOrProvinceId": "97cc4bc4-e6e1-4129-bbab-26d825d7c946",
"CityId": "241e7f26-9354-4ff2-9eb0-8a1be07f5fb0"
}
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>a318c612-7d1b-45a8-9a23-88ac50e3eeef</BloodGroupId> <CNICNumber>sample string 6</CNICNumber> <CityId>241e7f26-9354-4ff2-9eb0-8a1be07f5fb0</CityId> <CountryId>143836a2-ed26-43cc-960c-df29e7620b9c</CountryId> <DateOfBirth>2026-10-27T11:48:03.2180307+05:00</DateOfBirth> <FirstName>sample string 1</FirstName> <GenderId>14185056-d63d-4fcc-81a2-7ffe65e2cced</GenderId> <LastName>sample string 3</LastName> <MaritalStatusId>d4c7db8b-374e-47cd-b9f4-57987067faf0</MaritalStatusId> <MiddleName>sample string 2</MiddleName> <PassportNumber>sample string 4</PassportNumber> <PhoneNumber>sample string 8</PhoneNumber> <PicturePath>sample string 7</PicturePath> <StateOrProvinceId>97cc4bc4-e6e1-4129-bbab-26d825d7c946</StateOrProvinceId> <UserId>946dcb39-885c-4f61-85c0-fb81849dd0f1</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.