POST themdanhsachtructhuoc

Request Information

URI Parameters

None.

Body Parameters

Collection of tructhuoc
NameDescriptionTypeAdditional information
id

integer

None.

maxacha

integer

None.

maxacon

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "maxacha": 2,
    "maxacon": 3
  },
  {
    "id": 1,
    "maxacha": 2,
    "maxacon": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOftructhuoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models">
  <tructhuoc>
    <id>1</id>
    <maxacha>2</maxacha>
    <maxacon>3</maxacon>
  </tructhuoc>
  <tructhuoc>
    <id>1</id>
    <maxacha>2</maxacha>
    <maxacon>3</maxacon>
  </tructhuoc>
</ArrayOftructhuoc>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

tructhuoc
NameDescriptionTypeAdditional information
id

integer

None.

maxacha

integer

None.

maxacon

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "maxacha": 2,
  "maxacon": 3
}

application/xml, text/xml

Sample:
<tructhuoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APITienLuong.Models">
  <id>1</id>
  <maxacha>2</maxacha>
  <maxacon>3</maxacon>
</tructhuoc>