POST api/User/Update
Create User
Request Information
URI Parameters
None.
Body Parameters
UpdateUserJson| Name | Description | Type | Additional information |
|---|---|---|---|
| basic_information | user_data_dc |
None. |
|
| role_information | Collection of user_role_dc |
None. |
|
| auth_information | auth_info |
None. |
Request Formats
application/json, text/json
Sample:
{
"basic_information": {
"UserId": 1,
"ittfid": 1,
"UserName": "sample string 1",
"DisplayName": "sample string 2",
"Nationality": "sample string 3",
"Registration_date": "2026-02-05T09:32:36.1728603+00:00",
"address1": "sample string 4",
"address2": "sample string 5",
"address3": "sample string 6",
"city": "sample string 7",
"Residing_country_code": "sample string 8",
"Postcode": "sample string 9",
"photo": "sample string 10",
"placeofbirth": "sample string 11",
"MFAEnabled": true,
"ADEnabled": true,
"Default_Language_Code": "sample string 13",
"password_expiry_date": "2026-02-05T09:32:36.1728603+00:00",
"UserTypeId": 1,
"status": "sample string 14",
"IsActive": true,
"Deleted": 1,
"AppAccess_Admin": true,
"AppAccess_OES": true,
"IsLocalAccount": true,
"AD_ID": "sample string 16",
"UserGroupId": 1,
"IsMaster": true
},
"role_information": [
{
"UserRoleId": 1,
"RoleId": 1,
"UserId": 2,
"Deleted": 1
},
{
"UserRoleId": 1,
"RoleId": 1,
"UserId": 2,
"Deleted": 1
}
],
"auth_information": {
"UserId": 1,
"Password": "sample string 2",
"old_password": "sample string 3"
}
}
application/xml, text/xml
Sample:
<UpdateUserJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers">
<auth_information>
<Password>sample string 2</Password>
<UserId>1</UserId>
<old_password>sample string 3</old_password>
</auth_information>
<basic_information>
<ADEnabled>true</ADEnabled>
<AD_ID>sample string 16</AD_ID>
<AppAccess_Admin>true</AppAccess_Admin>
<AppAccess_OES>true</AppAccess_OES>
<Default_Language_Code>sample string 13</Default_Language_Code>
<Deleted>1</Deleted>
<DisplayName>sample string 2</DisplayName>
<IsActive>true</IsActive>
<IsLocalAccount>true</IsLocalAccount>
<IsMaster>true</IsMaster>
<MFAEnabled>true</MFAEnabled>
<Nationality>sample string 3</Nationality>
<Postcode>sample string 9</Postcode>
<Registration_date>2026-02-05T09:32:36.1728603+00:00</Registration_date>
<Residing_country_code>sample string 8</Residing_country_code>
<UserGroupId>1</UserGroupId>
<UserId>1</UserId>
<UserName>sample string 1</UserName>
<UserTypeId>1</UserTypeId>
<address1>sample string 4</address1>
<address2>sample string 5</address2>
<address3>sample string 6</address3>
<city>sample string 7</city>
<ittfid>1</ittfid>
<password_expiry_date>2026-02-05T09:32:36.1728603+00:00</password_expiry_date>
<photo>sample string 10</photo>
<placeofbirth>sample string 11</placeofbirth>
<status>sample string 14</status>
</basic_information>
<role_information>
<user_role_dc>
<Deleted>1</Deleted>
<RoleId>1</RoleId>
<UserId>2</UserId>
<UserRoleId>1</UserRoleId>
</user_role_dc>
<user_role_dc>
<Deleted>1</Deleted>
<RoleId>1</RoleId>
<UserId>2</UserId>
<UserRoleId>1</UserRoleId>
</user_role_dc>
</role_information>
</UpdateUserJson>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>