POST api/v2/bien-moi-truong/sua-doi

Request Information

URI Parameters

None.

Body Parameters

DM_BienMoiTruong
NameDescriptionTypeAdditional information
ID

integer

None.

TenCauHinh

string

None.

GiaTriCauHinh

string

None.

GhiChu

string

None.

AllowEdit

boolean

None.

AllowDelete

boolean

None.

InUsed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "tenCauHinh": "sample string 2",
  "giaTriCauHinh": "sample string 3",
  "ghiChu": "sample string 4",
  "allowEdit": true,
  "allowDelete": true,
  "inUsed": true
}

application/xml, text/xml

Sample:
<DM_BienMoiTruong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AllowDelete>true</AllowDelete>
  <AllowEdit>true</AllowEdit>
  <GhiChu>sample string 4</GhiChu>
  <GiaTriCauHinh>sample string 3</GiaTriCauHinh>
  <ID>1</ID>
  <InUsed>true</InUsed>
  <TenCauHinh>sample string 2</TenCauHinh>
</DM_BienMoiTruong>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObjectOfString
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseObjectOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <Status>true</Status>
</ResponseObjectOfstring>