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": "f189af61-f765-4d24-ad08-91e326d77337",
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"PassportNumber": "sample string 4",
"DateOfBirth": "2026-07-07T14:54:29.494737+05:00",
"CNICNumber": "sample string 6",
"PicturePath": "sample string 7",
"PhoneNumber": "sample string 8",
"GenderId": "3bfbc89e-b70d-4647-abb3-06c5148b6858",
"MaritalStatusId": "985b7d1b-67a9-4faa-bf01-f389d4d62554",
"BloodGroupId": "97bd42b4-7e93-4578-ad40-97f8e85c94c2",
"CountryId": "a554fc2b-7d1e-4873-b844-d8d71f1cfc2f",
"StateOrProvinceId": "82e445ed-fd83-451d-b252-af82c4a67219",
"CityId": "f7b6683d-6495-4bef-b160-89a081bfd1cb"
}
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>97bd42b4-7e93-4578-ad40-97f8e85c94c2</BloodGroupId> <CNICNumber>sample string 6</CNICNumber> <CityId>f7b6683d-6495-4bef-b160-89a081bfd1cb</CityId> <CountryId>a554fc2b-7d1e-4873-b844-d8d71f1cfc2f</CountryId> <DateOfBirth>2026-07-07T14:54:29.494737+05:00</DateOfBirth> <FirstName>sample string 1</FirstName> <GenderId>3bfbc89e-b70d-4647-abb3-06c5148b6858</GenderId> <LastName>sample string 3</LastName> <MaritalStatusId>985b7d1b-67a9-4faa-bf01-f389d4d62554</MaritalStatusId> <MiddleName>sample string 2</MiddleName> <PassportNumber>sample string 4</PassportNumber> <PhoneNumber>sample string 8</PhoneNumber> <PicturePath>sample string 7</PicturePath> <StateOrProvinceId>82e445ed-fd83-451d-b252-af82c4a67219</StateOrProvinceId> <UserId>f189af61-f765-4d24-ad08-91e326d77337</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.