POST api/apptt/sap/ChuyenTrangThaiSap

Cập nhật sạp bên bán hàng trc rồi mới cập nhật bên Hrm

Request Information

URI Parameters

None.

Body Parameters

TrangThaiSap
NameDescriptionTypeAdditional information
NgayChuyenThucTe

string

None.

LyDo

string

None.

TenNguoiChuyen

string

None.

IdTrangThaiCu

integer

None.

IdTrangThaiMoi

integer

None.

IdSap

integer

None.

TuNgay

string

None.

DenNgay

string

None.

SoGPKD

string

None.

SoCNCQ

string

None.

IdNH

integer

None.

IdNV

integer

None.

IdTThCNCQ

integer

None.

IdTThGPKD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "NgayChuyenThucTe": "sample string 1",
  "LyDo": "sample string 2",
  "TenNguoiChuyen": "sample string 3",
  "IdTrangThaiCu": 4,
  "IdTrangThaiMoi": 5,
  "IdSap": 6,
  "TuNgay": "sample string 7",
  "DenNgay": "sample string 8",
  "SoGPKD": "sample string 9",
  "SoCNCQ": "sample string 10",
  "IdNH": 11,
  "IdNV": 12,
  "IdTThCNCQ": 13,
  "IdTThGPKD": 14
}

application/xml, text/xml

Sample:
<TrangThaiSap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <DenNgay>sample string 8</DenNgay>
  <IdNH>11</IdNH>
  <IdNV>12</IdNV>
  <IdSap>6</IdSap>
  <IdTThCNCQ>13</IdTThCNCQ>
  <IdTThGPKD>14</IdTThGPKD>
  <IdTrangThaiCu>4</IdTrangThaiCu>
  <IdTrangThaiMoi>5</IdTrangThaiMoi>
  <LyDo>sample string 2</LyDo>
  <NgayChuyenThucTe>sample string 1</NgayChuyenThucTe>
  <SoCNCQ>sample string 10</SoCNCQ>
  <SoGPKD>sample string 9</SoGPKD>
  <TenNguoiChuyen>sample string 3</TenNguoiChuyen>
  <TuNgay>sample string 7</TuNgay>
</TrangThaiSap>

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>