POST api/Cashier/UpdatePay?api={api}&id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

id

string

Default value is

Body Parameters

CashierPayMethod
NameDescriptionTypeAdditional information
id

id

string

None.

idkey

id key

string

None.

idpartner

id đối tác

string

None.

idbrandpartner

id chi nhánh

string

None.

idvote

id phiếu thu

string

None.

codevote

Mã phiếu thu

string

None.

datevote

Ngày phiếu thu yyyyMMddHHmm

string

None.

idmethod

id phương thức

string

None.

codemethod

Mã phương thức

string

None.

namemethod

Tên phương thức

string

None.

qrcode

qrcode

string

None.

datepay

Ngày thu tiền yyyyMMddHHmm

string

None.

total

Tổng tiền

decimal number

None.

totalpaying

Tổng tiền thu

decimal number

None.

totalreturn

Tổng trả lại

decimal number

None.

status

Trang thái (0- Chờ duyệt, 1- Xác nhận)

integer

None.

datecreate

Ngày tạo yyyyMMddHHmm

string

None.

idcreate

id người tạo

string

None.

codecreate

Mã người tạo

string

None.

namecreate

Tên người tạo

string

None.

dateedit

Ngày sửa yyyyMMddHHmm

string

None.

idedit

id người sửa

string

None.

codeedit

Mã người sửa

string

None.

nameedit

Tên người sửa

string

None.

yearmonthday

Thời gian yyyyMMdd

integer

None.

fulltime

Thời gian đầy đủ yyyyMMddHHmm

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "idkey": "sample string 2",
  "idpartner": "sample string 3",
  "idbrandpartner": "sample string 4",
  "idvote": "sample string 5",
  "codevote": "sample string 6",
  "datevote": "sample string 7",
  "idmethod": "sample string 8",
  "codemethod": "sample string 9",
  "namemethod": "sample string 10",
  "qrcode": "sample string 11",
  "datepay": "sample string 12",
  "total": 1.1,
  "totalpaying": 1.1,
  "totalreturn": 1.1,
  "status": 13,
  "datecreate": "sample string 14",
  "idcreate": "sample string 15",
  "codecreate": "sample string 16",
  "namecreate": "sample string 17",
  "dateedit": "sample string 18",
  "idedit": "sample string 19",
  "codeedit": "sample string 20",
  "nameedit": "sample string 21",
  "yearmonthday": 1,
  "fulltime": 1
}

application/xml, text/xml

Sample:
<CashierPayMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Cashier">
  <codecreate>sample string 16</codecreate>
  <codeedit>sample string 20</codeedit>
  <codemethod>sample string 9</codemethod>
  <codevote>sample string 6</codevote>
  <datecreate>sample string 14</datecreate>
  <dateedit>sample string 18</dateedit>
  <datepay>sample string 12</datepay>
  <datevote>sample string 7</datevote>
  <fulltime>1</fulltime>
  <id>sample string 1</id>
  <idbrandpartner>sample string 4</idbrandpartner>
  <idcreate>sample string 15</idcreate>
  <idedit>sample string 19</idedit>
  <idkey>sample string 2</idkey>
  <idmethod>sample string 8</idmethod>
  <idpartner>sample string 3</idpartner>
  <idvote>sample string 5</idvote>
  <namecreate>sample string 17</namecreate>
  <nameedit>sample string 21</nameedit>
  <namemethod>sample string 10</namemethod>
  <qrcode>sample string 11</qrcode>
  <status>13</status>
  <total>1.1</total>
  <totalpaying>1.1</totalpaying>
  <totalreturn>1.1</totalreturn>
  <yearmonthday>1</yearmonthday>
</CashierPayMethod>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataUpdate
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

id

string

None.

code

string

None.

code1

string

None.

strprint

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "id": "sample string 3",
  "code": "sample string 4",
  "code1": "sample string 5",
  "strprint": "sample string 6"
}

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});

application/xml, text/xml

Sample:
<DataUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">
  <code>sample string 4</code>
  <code1>sample string 5</code1>
  <id>sample string 3</id>
  <message>sample string 2</message>
  <status>sample string 1</status>
  <strprint>sample string 6</strprint>
</DataUpdate>