POST api/User/UpdateUser

Var olan kullanıcıyı güncelleme.

Request Information

URI Parameters

None.

Body Parameters

gnl_user
NameDescriptionTypeAdditional information
user_id

integer

None.

is_passive

boolean

None.

sys_admin

boolean

None.

email

string

String length: inclusive between 3 and 50

name

string

String length: inclusive between 2 and 50

surname

string

String length: inclusive between 2 and 50

password

string

None.

gsm_number

string

None.

image_id

integer

None.

image_base_64

string

None.

is_white_theme

boolean

None.

create_date

date

None.

create_user_id

integer

None.

update_date

date

None.

update_user_id

integer

None.

company_id

integer

None.

company

gnl_company

None.

user_dashboard

Collection of rpt_user_dashboard

None.

user_method

Collection of gnl_user_method

None.

user_report

Collection of rpt_user_report

None.

Request Formats

application/json, text/json

Sample:
{
  "user_id": 1,
  "is_passive": true,
  "sys_admin": true,
  "email": "sample string 4",
  "name": "sample string 5",
  "surname": "sample string 6",
  "password": "sample string 7",
  "gsm_number": "sample string 8",
  "image_id": 1,
  "image_base_64": "sample string 9",
  "is_white_theme": true,
  "create_date": "2026-02-04T17:24:39.7027905+03:00",
  "create_user_id": 1,
  "update_date": "2026-02-04T17:24:39.7027905+03:00",
  "update_user_id": 1,
  "company_id": 13,
  "company": {
    "company_id": 1,
    "company_code": "sample string 2",
    "branch_code": "sample string 3",
    "company_name": "sample string 4",
    "company_trade_name": "sample string 5",
    "tax_office_id": 1,
    "tax_office": {
      "tax_office_id": 1,
      "tax_office_code": "sample string 2",
      "tax_office_name": "sample string 3"
    },
    "tax_number": "sample string 6",
    "identity_number": "sample string 7",
    "parent_company_id": 1,
    "is_passive": true,
    "image_id": 1,
    "image_base_64": "sample string 9",
    "company_group_id": 1,
    "master_company": true,
    "create_user_id": 1,
    "create_date": "2026-02-04T17:24:39.7027905+03:00",
    "update_date": "2026-02-04T17:24:39.7027905+03:00",
    "update_user_id": 1,
    "company_address": [
      {
        "company_address_id": 1,
        "company_id": 2,
        "address_type_id": 3,
        "address_type": {
          "address_type_id": 1,
          "address_type": "sample string 2"
        },
        "address_alias": "sample string 4",
        "country_id": 5,
        "country": {
          "country_id": 1,
          "country_name": "sample string 2",
          "iso3": "sample string 3",
          "iso2": "sample string 4",
          "phone_code": "sample string 5",
          "capital": "sample string 6",
          "region": "sample string 7",
          "subregion": "sample string 8",
          "country_code": "sample string 9",
          "traffic_code": "sample string 10"
        },
        "city_id": 6,
        "city": {
          "city_id": 1,
          "city_name": "sample string 2",
          "city_code": "sample string 3",
          "plate_code": "sample string 4",
          "country_id": 5
        },
        "town_id": 7,
        "town": {
          "town_id": 1,
          "town_name": "sample string 2",
          "town_code": "sample string 3",
          "city_id": 4
        },
        "address_line1": "sample string 8",
        "address_line2": "sample string 9",
        "address_line3": "sample string 10",
        "post_code": "sample string 11",
        "phone": "sample string 12",
        "fax": "sample string 13",
        "e_mail": "sample string 14"
      },
      {
        "company_address_id": 1,
        "company_id": 2,
        "address_type_id": 3,
        "address_type": {
          "address_type_id": 1,
          "address_type": "sample string 2"
        },
        "address_alias": "sample string 4",
        "country_id": 5,
        "country": {
          "country_id": 1,
          "country_name": "sample string 2",
          "iso3": "sample string 3",
          "iso2": "sample string 4",
          "phone_code": "sample string 5",
          "capital": "sample string 6",
          "region": "sample string 7",
          "subregion": "sample string 8",
          "country_code": "sample string 9",
          "traffic_code": "sample string 10"
        },
        "city_id": 6,
        "city": {
          "city_id": 1,
          "city_name": "sample string 2",
          "city_code": "sample string 3",
          "plate_code": "sample string 4",
          "country_id": 5
        },
        "town_id": 7,
        "town": {
          "town_id": 1,
          "town_name": "sample string 2",
          "town_code": "sample string 3",
          "city_id": 4
        },
        "address_line1": "sample string 8",
        "address_line2": "sample string 9",
        "address_line3": "sample string 10",
        "post_code": "sample string 11",
        "phone": "sample string 12",
        "fax": "sample string 13",
        "e_mail": "sample string 14"
      }
    ]
  },
  "user_dashboard": [
    {
      "user_dashboard_id": 1,
      "dashboard_m_id": 1,
      "dashboard_master": {
        "dashboard_m_id": 1,
        "description": "sample string 2",
        "is_passive": true,
        "dashboard_title": "sample string 4",
        "create_date": "2026-02-04T17:24:39.7027905+03:00",
        "create_user_id": 1,
        "update_date": "2026-02-04T17:24:39.7027905+03:00",
        "update_user_id": 7,
        "dashboard_detail": [
          {
            "dashboard_d_id": 1,
            "dashboard_m_id": 2,
            "report_m_id": 3,
            "order": 4,
            "column": 5,
            "create_date": "2026-02-04T17:24:39.7027905+03:00",
            "create_user_id": 7,
            "update_date": "2026-02-04T17:24:39.7027905+03:00",
            "update_user_id": 9
          },
          {
            "dashboard_d_id": 1,
            "dashboard_m_id": 2,
            "report_m_id": 3,
            "order": 4,
            "column": 5,
            "create_date": "2026-02-04T17:24:39.7027905+03:00",
            "create_user_id": 7,
            "update_date": "2026-02-04T17:24:39.7027905+03:00",
            "update_user_id": 9
          }
        ]
      },
      "user_id": 1,
      "create_date": "2026-02-04T17:24:39.7027905+03:00",
      "create_user_id": 1,
      "update_date": "2026-02-04T17:24:39.7027905+03:00",
      "update_user_id": 1
    },
    {
      "user_dashboard_id": 1,
      "dashboard_m_id": 1,
      "dashboard_master": {
        "dashboard_m_id": 1,
        "description": "sample string 2",
        "is_passive": true,
        "dashboard_title": "sample string 4",
        "create_date": "2026-02-04T17:24:39.7027905+03:00",
        "create_user_id": 1,
        "update_date": "2026-02-04T17:24:39.7027905+03:00",
        "update_user_id": 7,
        "dashboard_detail": [
          {
            "dashboard_d_id": 1,
            "dashboard_m_id": 2,
            "report_m_id": 3,
            "order": 4,
            "column": 5,
            "create_date": "2026-02-04T17:24:39.7027905+03:00",
            "create_user_id": 7,
            "update_date": "2026-02-04T17:24:39.7027905+03:00",
            "update_user_id": 9
          },
          {
            "dashboard_d_id": 1,
            "dashboard_m_id": 2,
            "report_m_id": 3,
            "order": 4,
            "column": 5,
            "create_date": "2026-02-04T17:24:39.7027905+03:00",
            "create_user_id": 7,
            "update_date": "2026-02-04T17:24:39.7027905+03:00",
            "update_user_id": 9
          }
        ]
      },
      "user_id": 1,
      "create_date": "2026-02-04T17:24:39.7027905+03:00",
      "create_user_id": 1,
      "update_date": "2026-02-04T17:24:39.7027905+03:00",
      "update_user_id": 1
    }
  ],
  "user_method": [
    {
      "user_method_id": 1,
      "user_id": 1,
      "method_id": 1,
      "method": {
        "method_id": 1,
        "name": "sample string 2",
        "hash": "sample string 3",
        "icon": "sample string 4",
        "type": 5,
        "order": 6,
        "module_id": 1,
        "module": {
          "module_id": 1,
          "name": "sample string 2",
          "icon": "sample string 3",
          "order": 4
        },
        "master_company": true,
        "company": true,
        "sub_company": true
      }
    },
    {
      "user_method_id": 1,
      "user_id": 1,
      "method_id": 1,
      "method": {
        "method_id": 1,
        "name": "sample string 2",
        "hash": "sample string 3",
        "icon": "sample string 4",
        "type": 5,
        "order": 6,
        "module_id": 1,
        "module": {
          "module_id": 1,
          "name": "sample string 2",
          "icon": "sample string 3",
          "order": 4
        },
        "master_company": true,
        "company": true,
        "sub_company": true
      }
    }
  ],
  "user_report": [
    {
      "user_report_id": 1,
      "report_m_id": 1,
      "user_id": 1
    },
    {
      "user_report_id": 1,
      "report_m_id": 1,
      "user_id": 1
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

entity_result
NameDescriptionTypeAdditional information
status_code

string

None.

status

boolean

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status_code": "sample string 1",
  "status": true,
  "title": "sample string 3",
  "message": "sample string 4",
  "data": {}
}

application/xml, text/xml

Sample:
<entity_result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.RESULT_MODELS">
  <data />
  <message>sample string 4</message>
  <status>true</status>
  <status_code>sample string 1</status_code>
  <title>sample string 3</title>
</entity_result>