POST api/Language/Update?api={api}&idlanguage={idlanguage}

Sửa dữ liệu với điều kiện truyền vào

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

Mã API do hệ thống cung cấp

string

Required

idlanguage

ID Ngôn ngữ

string

Default value is

Body Parameters

Language
NameDescriptionTypeAdditional information
idlanguage

ID Ngôn ngữ

string

None.

title

Tiêu đề ngôn ngữ

string

None.

notuse

Không sử dụng

boolean

None.

onlyread

Chỉ Đọc

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "idlanguage": "sample string 1",
  "title": "sample string 2",
  "notuse": true,
  "onlyread": true
}

application/xml, text/xml

Sample:
<Language xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Obj">
  <idlanguage>sample string 1</idlanguage>
  <notuse>true</notuse>
  <onlyread>true</onlyread>
  <title>sample string 2</title>
</Language>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataUpdate
NameDescriptionTypeAdditional information
status

Trạng thái trả về dữ liệu: success, error

string

None.

message

Nội dung thông báo

string

None.

codemessage

Mã code trả về

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "codemessage": "samplestring2"
}

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"status":"sample string 1","message":"sample string 2","codemessage":"samplestring2"});

application/xml, text/xml

Sample:
<DataUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Models">
  <codemessage>samplestring2</codemessage>
  <message>sample string 2</message>
  <status>sample string 1</status>
</DataUpdate>