POST api/gioi-thieu-cho/CapNhat

Request Information

URI Parameters

None.

Body Parameters

GioiThieuChoSaveRequest
NameDescriptionTypeAdditional information
IdCho

integer

None.

AnhBia

string

None.

NoiDungHtml

string

None.

IsPublic

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IdCho": 1,
  "AnhBia": "sample string 2",
  "NoiDungHtml": "sample string 3",
  "IsPublic": true
}

application/xml, text/xml

Sample:
<GioiThieuChoSaveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <AnhBia>sample string 2</AnhBia>
  <IdCho>1</IdCho>
  <IsPublic>true</IsPublic>
  <NoiDungHtml>sample string 3</NoiDungHtml>
</GioiThieuChoSaveRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfObject
NameDescriptionTypeAdditional information
status

integer

None.

data

Object

None.

page

Object

None.

error

ErrorModel

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "data": {},
  "page": {},
  "error": {
    "message": "sample string 1",
    "code": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<BaseModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <data />
  <error>
    <code>sample string 2</code>
    <message>sample string 1</message>
  </error>
  <page />
  <status>1</status>
</BaseModelOfanyType>