POST themdanhsachdanhmucchucvu

Request Information

URI Parameters

None.

Body Parameters

Collection of danhmucchucvu
NameDescriptionTypeAdditional information
id

integer

None.

tenchucvu

string

None.

hesohuong

decimal number

None.

thutu

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "tenchucvu": "sample string 2",
    "hesohuong": 1.0,
    "thutu": 1
  },
  {
    "id": 1,
    "tenchucvu": "sample string 2",
    "hesohuong": 1.0,
    "thutu": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfdanhmucchucvu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models">
  <danhmucchucvu>
    <hesohuong>1</hesohuong>
    <id>1</id>
    <tenchucvu>sample string 2</tenchucvu>
    <thutu>1</thutu>
  </danhmucchucvu>
  <danhmucchucvu>
    <hesohuong>1</hesohuong>
    <id>1</id>
    <tenchucvu>sample string 2</tenchucvu>
    <thutu>1</thutu>
  </danhmucchucvu>
</ArrayOfdanhmucchucvu>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

danhmucchucvu
NameDescriptionTypeAdditional information
id

integer

None.

tenchucvu

string

None.

hesohuong

decimal number

None.

thutu

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "tenchucvu": "sample string 2",
  "hesohuong": 1.0,
  "thutu": 1
}

application/xml, text/xml

Sample:
<danhmucchucvu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models">
  <hesohuong>1</hesohuong>
  <id>1</id>
  <tenchucvu>sample string 2</tenchucvu>
  <thutu>1</thutu>
</danhmucchucvu>