POST api/User/Create?player_regsitration={player_regsitration}

Create User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
player_regsitration

boolean

Default value is False

Body Parameters

CreateUserJson
NameDescriptionTypeAdditional information
basic_information

create_user_info

None.

role_information

Collection of user_role_dc

None.

Request Formats

application/json, text/json

Sample:
{
  "basic_information": {
    "Password": "sample string 1",
    "AD_ID": "sample string 2",
    "UserId": 1,
    "ittfid": 1,
    "UserName": "sample string 3",
    "DisplayName": "sample string 4",
    "Nationality": "sample string 5",
    "Registration_date": "2025-07-18T15:31:36.6215305+00:00",
    "address1": "sample string 6",
    "address2": "sample string 7",
    "address3": "sample string 8",
    "city": "sample string 9",
    "Residing_country_code": "sample string 10",
    "Postcode": "sample string 11",
    "photo": "sample string 12",
    "placeofbirth": "sample string 13",
    "MFAEnabled": true,
    "ADEnabled": true,
    "Default_Language_Code": "sample string 15",
    "password_expiry_date": "2025-07-18T15:31:36.6215305+00:00",
    "UserTypeId": 1,
    "status": "sample string 16",
    "IsActive": true,
    "Deleted": 1,
    "AppAccess_Admin": true,
    "AppAccess_OES": true,
    "IsLocalAccount": true,
    "UserGroupId": 1,
    "IsMaster": true
  },
  "role_information": [
    {
      "UserRoleId": 1,
      "RoleId": 1,
      "UserId": 2,
      "Deleted": 1
    },
    {
      "UserRoleId": 1,
      "RoleId": 1,
      "UserId": 2,
      "Deleted": 1
    }
  ]
}

application/xml, text/xml

Sample:
<CreateUserJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers">
  <basic_information>
    <ADEnabled>true</ADEnabled>
    <AD_ID i:nil="true" />
    <AppAccess_Admin>true</AppAccess_Admin>
    <AppAccess_OES>true</AppAccess_OES>
    <Default_Language_Code>sample string 15</Default_Language_Code>
    <Deleted>1</Deleted>
    <DisplayName>sample string 4</DisplayName>
    <IsActive>true</IsActive>
    <IsLocalAccount>true</IsLocalAccount>
    <IsMaster>true</IsMaster>
    <MFAEnabled>true</MFAEnabled>
    <Nationality>sample string 5</Nationality>
    <Postcode>sample string 11</Postcode>
    <Registration_date>2025-07-18T15:31:36.6215305+00:00</Registration_date>
    <Residing_country_code>sample string 10</Residing_country_code>
    <UserGroupId>1</UserGroupId>
    <UserId>1</UserId>
    <UserName>sample string 3</UserName>
    <UserTypeId>1</UserTypeId>
    <address1>sample string 6</address1>
    <address2>sample string 7</address2>
    <address3>sample string 8</address3>
    <city>sample string 9</city>
    <ittfid>1</ittfid>
    <password_expiry_date>2025-07-18T15:31:36.6215305+00:00</password_expiry_date>
    <photo>sample string 12</photo>
    <placeofbirth>sample string 13</placeofbirth>
    <status>sample string 16</status>
    <AD_ID>sample string 2</AD_ID>
    <Password>sample string 1</Password>
  </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>
</CreateUserJson>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>