POST api/apptt/ThuChi/InPhieuThuBienLai

In phiếu thu mẫu 2

Request Information

URI Parameters

None.

Body Parameters

InPhieuThu
NameDescriptionTypeAdditional information
LoaiThu

integer

None.

Thang

integer

None.

Nam

integer

None.

IdCho

integer

None.

IdKVC

integer

None.

IdNV

integer

None.

TuSap

integer

None.

DenSap

integer

None.

GhiChu

string

None.

KyHieu

string

None.

SoSeries

integer

None.

XacNhanLuuSoSeri

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LoaiThu": 1,
  "Thang": 2,
  "Nam": 3,
  "IdCho": 4,
  "IdKVC": 5,
  "IdNV": 6,
  "TuSap": 7,
  "DenSap": 8,
  "GhiChu": "sample string 9",
  "KyHieu": "sample string 10",
  "SoSeries": 11,
  "XacNhanLuuSoSeri": true
}

application/xml, text/xml

Sample:
<InPhieuThu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <DenSap>8</DenSap>
  <GhiChu>sample string 9</GhiChu>
  <IdCho>4</IdCho>
  <IdKVC>5</IdKVC>
  <IdNV>6</IdNV>
  <KyHieu>sample string 10</KyHieu>
  <LoaiThu>1</LoaiThu>
  <Nam>3</Nam>
  <SoSeries>11</SoSeries>
  <Thang>2</Thang>
  <TuSap>7</TuSap>
  <XacNhanLuuSoSeri>true</XacNhanLuuSoSeri>
</InPhieuThu>

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>