POST api/Account/UpdateUserInfo
Update user profile
Request Information
URI Parameters
None.
Body Parameters
UserUpdateBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FullName | string |
Required Max length: 200 String length: inclusive between 6 and 200 |
|
| Mobile | string |
Required Data type: PhoneNumber Matching regular expression pattern: ^[0-9+-]+$ Max length: 7 String length: inclusive between 7 and 7 |
|
| DOB | date |
Data type: DateTime |
|
| DOA | date |
Data type: DateTime |
|
| TINNumber | string |
None. |
|
| NIDNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FullName": "sample string 1",
"Mobile": "sample string 2",
"DOB": "2026-04-16T05:41:25.6358336",
"DOA": "2026-04-16T05:41:25.6358336",
"TINNumber": "sample string 3",
"NIDNumber": "sample string 4"
}
application/xml, text/xml
Sample:
<UserUpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Coke.Models.WebApi.BindingModels.Account"> <DOA>2026-04-16T05:41:25.6358336</DOA> <DOB>2026-04-16T05:41:25.6358336</DOB> <FullName>sample string 1</FullName> <Mobile>sample string 2</Mobile> <NIDNumber>sample string 4</NIDNumber> <TINNumber>sample string 3</TINNumber> </UserUpdateBindingModel>
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.