POST api/DinhMucPTN/AddE_DinhMuc_Schedule?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of CTDinhMucPTN
NameDescriptionTypeAdditional information
ID

integer

None.

DinhMucID

integer

None.

TTBID

integer

None.

QualityNumber

decimal number

None.

CreateDate

date

None.

ChecksumParam

ChecksumParamModel

None.

Trangthai

boolean

None.

MaTB

string

None.

TenTB

string

None.

Buoi

integer

None.

MaLHP

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "dinhMucID": 2,
    "ttbid": 3,
    "qualityNumber": 4.1,
    "createDate": "2024-12-26T18:13:33.7647733+07:00",
    "checksumParam": {
      "checksumEdit": "sample string 1",
      "checksumDelete": "sample string 2",
      "checksumRequest": "sample string 3",
      "checksumRequest2": "sample string 4"
    },
    "trangthai": true,
    "maTB": "sample string 6",
    "tenTB": "sample string 7",
    "buoi": 8,
    "maLHP": 9
  },
  {
    "id": 1,
    "dinhMucID": 2,
    "ttbid": 3,
    "qualityNumber": 4.1,
    "createDate": "2024-12-26T18:13:33.7647733+07:00",
    "checksumParam": {
      "checksumEdit": "sample string 1",
      "checksumDelete": "sample string 2",
      "checksumRequest": "sample string 3",
      "checksumRequest2": "sample string 4"
    },
    "trangthai": true,
    "maTB": "sample string 6",
    "tenTB": "sample string 7",
    "buoi": 8,
    "maLHP": 9
  }
]

text/html

Sample:
[{"id":1,"dinhMucID":2,"ttbid":3,"qualityNumber":4.1,"createDate":"2024-12-26T18:13:33.7647733+07:00","checksumParam":{"checksumEdit":"sample string 1","checksumDelete":"sample string 2","checksumRequest":"sample string 3","checksumRequest2":"sample string 4"},"trangthai":true,"maTB":"sample string 6","tenTB":"sample string 7","buoi":8,"maLHP":9},{"id":1,"dinhMucID":2,"ttbid":3,"qualityNumber":4.1,"createDate":"2024-12-26T18:13:33.7647733+07:00","checksumParam":{"checksumEdit":"sample string 1","checksumDelete":"sample string 2","checksumRequest":"sample string 3","checksumRequest2":"sample string 4"},"trangthai":true,"maTB":"sample string 6","tenTB":"sample string 7","buoi":8,"maLHP":9}]

application/xml, text/xml

Sample:
<ArrayOfCTDinhMucPTN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel">
  <CTDinhMucPTN>
    <Buoi>8</Buoi>
    <ChecksumParam>
      <ChecksumDelete>sample string 2</ChecksumDelete>
      <ChecksumEdit>sample string 1</ChecksumEdit>
      <ChecksumRequest>sample string 3</ChecksumRequest>
      <ChecksumRequest2>sample string 4</ChecksumRequest2>
    </ChecksumParam>
    <CreateDate>2024-12-26T18:13:33.7647733+07:00</CreateDate>
    <DinhMucID>2</DinhMucID>
    <ID>1</ID>
    <MaLHP>9</MaLHP>
    <MaTB>sample string 6</MaTB>
    <QualityNumber>4.1</QualityNumber>
    <TTBID>3</TTBID>
    <TenTB>sample string 7</TenTB>
    <Trangthai>true</Trangthai>
  </CTDinhMucPTN>
  <CTDinhMucPTN>
    <Buoi>8</Buoi>
    <ChecksumParam>
      <ChecksumDelete>sample string 2</ChecksumDelete>
      <ChecksumEdit>sample string 1</ChecksumEdit>
      <ChecksumRequest>sample string 3</ChecksumRequest>
      <ChecksumRequest2>sample string 4</ChecksumRequest2>
    </ChecksumParam>
    <CreateDate>2024-12-26T18:13:33.7647733+07:00</CreateDate>
    <DinhMucID>2</DinhMucID>
    <ID>1</ID>
    <MaLHP>9</MaLHP>
    <MaTB>sample string 6</MaTB>
    <QualityNumber>4.1</QualityNumber>
    <TTBID>3</TTBID>
    <TenTB>sample string 7</TenTB>
    <Trangthai>true</Trangthai>
  </CTDinhMucPTN>
</ArrayOfCTDinhMucPTN>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.