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": "d17b1711-6748-4a77-8ac2-ef27997eee73",
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"PassportNumber": "sample string 4",
"DateOfBirth": "2026-09-02T14:40:25.2492675+05:00",
"CNICNumber": "sample string 6",
"PicturePath": "sample string 7",
"PhoneNumber": "sample string 8",
"GenderId": "e9fcabfd-212a-4d81-b2bb-d6b0b82647f4",
"MaritalStatusId": "0c98c6c6-04e1-499e-8fb7-9b1cac7f8acc",
"BloodGroupId": "87f3daad-c2bf-4b27-a458-4f299ac58dfe",
"CountryId": "cf27a950-bbd3-478d-8f34-9e12c432fe63",
"StateOrProvinceId": "29f64acc-d896-40ac-94db-164ed8914c0a",
"CityId": "4db67dfa-2c6b-498e-bd1b-8f8da449f1df"
}
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>87f3daad-c2bf-4b27-a458-4f299ac58dfe</BloodGroupId> <CNICNumber>sample string 6</CNICNumber> <CityId>4db67dfa-2c6b-498e-bd1b-8f8da449f1df</CityId> <CountryId>cf27a950-bbd3-478d-8f34-9e12c432fe63</CountryId> <DateOfBirth>2026-09-02T14:40:25.2492675+05:00</DateOfBirth> <FirstName>sample string 1</FirstName> <GenderId>e9fcabfd-212a-4d81-b2bb-d6b0b82647f4</GenderId> <LastName>sample string 3</LastName> <MaritalStatusId>0c98c6c6-04e1-499e-8fb7-9b1cac7f8acc</MaritalStatusId> <MiddleName>sample string 2</MiddleName> <PassportNumber>sample string 4</PassportNumber> <PhoneNumber>sample string 8</PhoneNumber> <PicturePath>sample string 7</PicturePath> <StateOrProvinceId>29f64acc-d896-40ac-94db-164ed8914c0a</StateOrProvinceId> <UserId>d17b1711-6748-4a77-8ac2-ef27997eee73</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.