POST api/qlvipham/CapNhatQLViPham

Request Information

URI Parameters

None.

Body Parameters

QLViPhamEachModel
NameDescriptionTypeAdditional information
IdRow

integer

None.

IdSap

integer

None.

IdTTh

integer

None.

IdLVP

integer

None.

IdPS

integer

None.

HinhThucXuLy

integer

None.

MucDoXuLy

string

None.

NoiDungViPham

string

None.

GhiChu

string

None.

DanhCho

integer

None.

DaXuLy

boolean

None.

NgayLap

string

None.

NgayTiepNhan

string

None.

NgayXuLy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdRow": 1,
  "IdSap": 2,
  "IdTTh": 3,
  "IdLVP": 4,
  "IdPS": 5,
  "HinhThucXuLy": 6,
  "MucDoXuLy": "sample string 7",
  "NoiDungViPham": "sample string 8",
  "GhiChu": "sample string 9",
  "DanhCho": 10,
  "DaXuLy": true,
  "NgayLap": "sample string 12",
  "NgayTiepNhan": "sample string 13",
  "NgayXuLy": "sample string 14"
}

application/xml, text/xml

Sample:
<QLViPhamEachModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <DaXuLy>true</DaXuLy>
  <DanhCho>10</DanhCho>
  <GhiChu>sample string 9</GhiChu>
  <HinhThucXuLy>6</HinhThucXuLy>
  <IdLVP>4</IdLVP>
  <IdPS>5</IdPS>
  <IdRow>1</IdRow>
  <IdSap>2</IdSap>
  <IdTTh>3</IdTTh>
  <MucDoXuLy>sample string 7</MucDoXuLy>
  <NgayLap>sample string 12</NgayLap>
  <NgayTiepNhan>sample string 13</NgayTiepNhan>
  <NgayXuLy>sample string 14</NgayXuLy>
  <NoiDungViPham>sample string 8</NoiDungViPham>
</QLViPhamEachModel>

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>