POST api/Account/UpdateAccount
Request Information
URI Parameters
None.
Body Parameters
Account| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| PartnerID | integer |
None. |
|
| Fullname | string |
None. |
|
| Mobile | string |
None. |
|
| string |
None. |
||
| Jobtitle | string |
None. |
|
| CreatedDate | string |
None. |
|
| CreatedBy | integer |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
|
| Gender | string |
None. |
|
| LastPassChange | string |
None. |
|
| NextPassChange | string |
None. |
|
| IsMasterAccount | boolean |
None. |
|
| LastLogin | string |
None. |
|
| IsLock | boolean |
None. |
|
| LockedNote | string |
None. |
|
| LockedDate | string |
None. |
|
| LockedBy | integer |
None. |
|
| Note | string |
None. |
|
| PermissionID | string |
None. |
|
| AppCode | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"PartnerID": 2,
"Fullname": "sample string 3",
"Mobile": "sample string 4",
"Email": "sample string 5",
"Jobtitle": "sample string 6",
"CreatedDate": "sample string 7",
"CreatedBy": 8,
"Username": "sample string 9",
"Password": "sample string 10",
"Gender": "sample string 11",
"LastPassChange": "sample string 12",
"NextPassChange": "sample string 13",
"IsMasterAccount": true,
"LastLogin": "sample string 15",
"IsLock": true,
"LockedNote": "sample string 17",
"LockedDate": "sample string 18",
"LockedBy": 19,
"Note": "sample string 20",
"PermissionID": "sample string 21",
"AppCode": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | PageModel |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {
"Page": 1,
"AllPage": 2,
"Size": 3,
"TotalCount": 4
},
"error": {
"message": "sample string 1",
"code": "sample string 2",
"page": {
"Page": 1,
"AllPage": 2,
"Size": 3,
"TotalCount": 4
}
}
}
application/xml, text/xml
Sample: