POST updatedanhsachhuyen

Request Information

URI Parameters

None.

Body Parameters

Collection of huyen
NameDescriptionTypeAdditional information
id

integer

None.

tenhuyen

string

None.

tinh

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "tenhuyen": "sample string 2",
    "tinh": "sample string 3"
  },
  {
    "id": 1,
    "tenhuyen": "sample string 2",
    "tinh": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfhuyen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models">
  <huyen>
    <id>1</id>
    <tenhuyen>sample string 2</tenhuyen>
    <tinh>sample string 3</tinh>
  </huyen>
  <huyen>
    <id>1</id>
    <tenhuyen>sample string 2</tenhuyen>
    <tinh>sample string 3</tinh>
  </huyen>
</ArrayOfhuyen>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

huyen
NameDescriptionTypeAdditional information
id

integer

None.

tenhuyen

string

None.

tinh

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "tenhuyen": "sample string 2",
  "tinh": "sample string 3"
}

application/xml, text/xml

Sample:
<huyen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models">
  <id>1</id>
  <tenhuyen>sample string 2</tenhuyen>
  <tinh>sample string 3</tinh>
</huyen>