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": "e31993cf-6179-49b2-805e-4ee5f5181370",
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"PassportNumber": "sample string 4",
"DateOfBirth": "2026-01-23T16:15:55.7442686+05:00",
"CNICNumber": "sample string 6",
"PicturePath": "sample string 7",
"PhoneNumber": "sample string 8",
"GenderId": "d7b8db78-1eda-4a52-9feb-3bad4997f303",
"MaritalStatusId": "704e6858-0f27-4726-8d63-5c299025e96b",
"BloodGroupId": "1df02749-931a-46cd-bfd8-2a0096895003",
"CountryId": "a66fe66c-dc5c-42f3-98ac-fea25d9dcedd",
"StateOrProvinceId": "fc8bffda-4546-42d6-b08c-20b2bc5aaca0",
"CityId": "a8c0cb34-4a9e-4053-8400-ce44d7de6714"
}
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>1df02749-931a-46cd-bfd8-2a0096895003</BloodGroupId> <CNICNumber>sample string 6</CNICNumber> <CityId>a8c0cb34-4a9e-4053-8400-ce44d7de6714</CityId> <CountryId>a66fe66c-dc5c-42f3-98ac-fea25d9dcedd</CountryId> <DateOfBirth>2026-01-23T16:15:55.7442686+05:00</DateOfBirth> <FirstName>sample string 1</FirstName> <GenderId>d7b8db78-1eda-4a52-9feb-3bad4997f303</GenderId> <LastName>sample string 3</LastName> <MaritalStatusId>704e6858-0f27-4726-8d63-5c299025e96b</MaritalStatusId> <MiddleName>sample string 2</MiddleName> <PassportNumber>sample string 4</PassportNumber> <PhoneNumber>sample string 8</PhoneNumber> <PicturePath>sample string 7</PicturePath> <StateOrProvinceId>fc8bffda-4546-42d6-b08c-20b2bc5aaca0</StateOrProvinceId> <UserId>e31993cf-6179-49b2-805e-4ee5f5181370</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.