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": "d40a95f9-d0aa-404b-90a8-14ef801b4f22",
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"PassportNumber": "sample string 4",
"DateOfBirth": "2026-05-13T12:34:50.2394369+05:00",
"CNICNumber": "sample string 6",
"PicturePath": "sample string 7",
"PhoneNumber": "sample string 8",
"GenderId": "99401678-3ba3-4d64-9813-4bf9465d4a00",
"MaritalStatusId": "bf961b4e-2fe7-4493-8eef-121fad543742",
"BloodGroupId": "73bbd12c-0a98-4baf-af63-d692ac08ca95",
"CountryId": "b108f534-b180-4743-9b07-49a0699b2cd7",
"StateOrProvinceId": "d6c7a23c-df8d-4d0e-b97b-fcc6c486fb31",
"CityId": "52835223-7eb2-415d-a92c-1f40f5bad7b1"
}
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>73bbd12c-0a98-4baf-af63-d692ac08ca95</BloodGroupId> <CNICNumber>sample string 6</CNICNumber> <CityId>52835223-7eb2-415d-a92c-1f40f5bad7b1</CityId> <CountryId>b108f534-b180-4743-9b07-49a0699b2cd7</CountryId> <DateOfBirth>2026-05-13T12:34:50.2394369+05:00</DateOfBirth> <FirstName>sample string 1</FirstName> <GenderId>99401678-3ba3-4d64-9813-4bf9465d4a00</GenderId> <LastName>sample string 3</LastName> <MaritalStatusId>bf961b4e-2fe7-4493-8eef-121fad543742</MaritalStatusId> <MiddleName>sample string 2</MiddleName> <PassportNumber>sample string 4</PassportNumber> <PhoneNumber>sample string 8</PhoneNumber> <PicturePath>sample string 7</PicturePath> <StateOrProvinceId>d6c7a23c-df8d-4d0e-b97b-fcc6c486fb31</StateOrProvinceId> <UserId>d40a95f9-d0aa-404b-90a8-14ef801b4f22</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.