POST api/AccPayment/destroy?api={api}&id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
id | string |
Default value is |
Body Parameters
AccReceiptModelName | Description | Type | Additional information |
---|---|---|---|
id |
id |
string |
None. |
source |
Nguồn (1-Tiền mặt, 2 - Ngân hàng) |
integer |
None. |
idkey |
id key |
string |
None. |
idpartner |
id đối tác |
string |
None. |
idbrandpartner |
id chi nhánh |
string |
None. |
typevote |
Đối tượng (1- Phiếu thu, 2- Phiếu chi) |
integer |
None. |
code |
mã phiếu |
string |
None. |
datebill |
ngày hạch toán yyyyMMdd |
string |
None. |
dateaccounting |
ngày chứng từ yyyyMMdd |
string |
None. |
type |
Đối tượng (1-Nhân viên, 2- Khách hàng, 3 - Nhà cung cấp, 4- Khác) |
integer |
None. |
idobject |
id đối tượng thu |
string |
None. |
codeobject |
Mã đối tượng thu |
string |
None. |
nameobject |
Tên đối tượng thu |
string |
None. |
namedeliver |
Người nộp |
string |
None. |
address |
Địa chỉ |
string |
None. |
idgroup |
ID lý do nộp |
string |
None. |
codegroup |
Mã lý do nộp |
string |
None. |
namegroup |
Tên lý do nộp |
string |
None. |
note |
Diễn giải |
string |
None. |
idhuman |
id nhân vên thu |
string |
None. |
codehuman |
Mã nhân viên thu |
string |
None. |
namehuman |
Tên nhân viên thu |
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. |
datecreate |
ngày tạo 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. |
dateedit |
ngày sửa yyyyMMddHHmm |
string |
None. |
islock |
Đã khóa sổ |
integer |
None. |
status |
Trạng thái |
integer |
None. |
total |
Tổng tiền |
decimal number |
None. |
rate |
Tỷ giá |
decimal number |
None. |
totalrate |
Tổng tiền tỷ giá |
decimal number |
None. |
lstdetail |
Danh sách chi tiết |
Collection of AccReceiptDetailAdd |
None. |
lstreference |
Chứng từ tham chiếu |
string |
None. |
yearmonthday |
Ngày |
integer |
None. |
fulltime |
Ngày |
integer |
None. |
ordering |
Ngày |
integer |
None. |
iddestroy |
id người hủy |
string |
None. |
codedestroy |
mã người hủy |
string |
None. |
namedestroy |
Tên người hủy |
string |
None. |
datedestroy |
Ngày hủy yyyyMMddHHmm |
string |
None. |
notedestroy |
Lý người hủy |
string |
None. |
Request Formats
application/json, text/json
{ "id": "sample string 1", "source": 2, "idkey": "sample string 3", "idpartner": "sample string 4", "idbrandpartner": "sample string 5", "typevote": 6, "code": "sample string 7", "datebill": "sample string 8", "dateaccounting": "sample string 9", "type": 10, "idobject": "sample string 11", "codeobject": "sample string 12", "nameobject": "sample string 13", "namedeliver": "sample string 14", "address": "sample string 15", "idgroup": "sample string 16", "codegroup": "sample string 17", "namegroup": "sample string 18", "note": "sample string 19", "idhuman": "sample string 20", "codehuman": "sample string 21", "namehuman": "sample string 22", "idcreate": "sample string 23", "codecreate": "sample string 24", "namecreate": "sample string 25", "datecreate": "sample string 26", "idedit": "sample string 27", "codeedit": "sample string 28", "nameedit": "sample string 29", "dateedit": "sample string 30", "islock": 31, "status": 32, "total": 33.1, "rate": 34.1, "totalrate": 35.1, "lstdetail": [ { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "source": 5, "idvote": "sample string 6", "codevote": "sample string 7", "datebill": "sample string 8", "dateaccounting": "sample string 9", "type": 10, "idobject": "sample string 11", "codeobject": "sample string 12", "nameobject": "sample string 13", "idgroup": "sample string 14", "codegroup": "sample string 15", "namegroup": "sample string 16", "idpurpose": "sample string 17", "codepurpose": "sample string 18", "namepurpose": "sample string 19", "note": "sample string 20", "total": 21.1, "rate": 22.1, "totalrate": 23.1, "yearmonthday": 1, "fulltime": 1, "iddepartment": "sample string 24", "codedepartment": "sample string 25", "namedepartment": "sample string 26", "idbank": "sample string 27", "codebank": "sample string 28", "namebank": "sample string 29", "numberbank": "sample string 30", "balancebank": 1.1 }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "source": 5, "idvote": "sample string 6", "codevote": "sample string 7", "datebill": "sample string 8", "dateaccounting": "sample string 9", "type": 10, "idobject": "sample string 11", "codeobject": "sample string 12", "nameobject": "sample string 13", "idgroup": "sample string 14", "codegroup": "sample string 15", "namegroup": "sample string 16", "idpurpose": "sample string 17", "codepurpose": "sample string 18", "namepurpose": "sample string 19", "note": "sample string 20", "total": 21.1, "rate": 22.1, "totalrate": 23.1, "yearmonthday": 1, "fulltime": 1, "iddepartment": "sample string 24", "codedepartment": "sample string 25", "namedepartment": "sample string 26", "idbank": "sample string 27", "codebank": "sample string 28", "namebank": "sample string 29", "numberbank": "sample string 30", "balancebank": 1.1 } ], "lstreference": "sample string 36", "yearmonthday": 1, "fulltime": 1, "ordering": 1, "iddestroy": "sample string 37", "codedestroy": "sample string 38", "namedestroy": "sample string 39", "datedestroy": "sample string 40", "notedestroy": "sample string 41" }
application/xml, text/xml
<AccReceiptModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Accounting"> <address>sample string 15</address> <code>sample string 7</code> <codecreate>sample string 24</codecreate> <codedestroy>sample string 38</codedestroy> <codeedit>sample string 28</codeedit> <codegroup>sample string 17</codegroup> <codehuman>sample string 21</codehuman> <codeobject>sample string 12</codeobject> <dateaccounting>sample string 9</dateaccounting> <datebill>sample string 8</datebill> <datecreate>sample string 26</datecreate> <datedestroy>sample string 40</datedestroy> <dateedit>sample string 30</dateedit> <fulltime>1</fulltime> <id>sample string 1</id> <idbrandpartner>sample string 5</idbrandpartner> <idcreate>sample string 23</idcreate> <iddestroy>sample string 37</iddestroy> <idedit>sample string 27</idedit> <idgroup>sample string 16</idgroup> <idhuman>sample string 20</idhuman> <idkey>sample string 3</idkey> <idobject>sample string 11</idobject> <idpartner>sample string 4</idpartner> <islock>31</islock> <lstdetail> <AccReceiptDetailAdd> <balancebank>1.1</balancebank> <codebank>sample string 28</codebank> <codedepartment>sample string 25</codedepartment> <codegroup>sample string 15</codegroup> <codeobject>sample string 12</codeobject> <codepurpose>sample string 18</codepurpose> <codevote>sample string 7</codevote> <dateaccounting>sample string 9</dateaccounting> <datebill>sample string 8</datebill> <fulltime>1</fulltime> <id>sample string 1</id> <idbank>sample string 27</idbank> <idbrandpartner>sample string 4</idbrandpartner> <iddepartment>sample string 24</iddepartment> <idgroup>sample string 14</idgroup> <idkey>sample string 2</idkey> <idobject>sample string 11</idobject> <idpartner>sample string 3</idpartner> <idpurpose>sample string 17</idpurpose> <idvote>sample string 6</idvote> <namebank>sample string 29</namebank> <namedepartment>sample string 26</namedepartment> <namegroup>sample string 16</namegroup> <nameobject>sample string 13</nameobject> <namepurpose>sample string 19</namepurpose> <note>sample string 20</note> <numberbank>sample string 30</numberbank> <rate>22.1</rate> <source>5</source> <total>21.1</total> <totalrate>23.1</totalrate> <type>10</type> <yearmonthday>1</yearmonthday> </AccReceiptDetailAdd> <AccReceiptDetailAdd> <balancebank>1.1</balancebank> <codebank>sample string 28</codebank> <codedepartment>sample string 25</codedepartment> <codegroup>sample string 15</codegroup> <codeobject>sample string 12</codeobject> <codepurpose>sample string 18</codepurpose> <codevote>sample string 7</codevote> <dateaccounting>sample string 9</dateaccounting> <datebill>sample string 8</datebill> <fulltime>1</fulltime> <id>sample string 1</id> <idbank>sample string 27</idbank> <idbrandpartner>sample string 4</idbrandpartner> <iddepartment>sample string 24</iddepartment> <idgroup>sample string 14</idgroup> <idkey>sample string 2</idkey> <idobject>sample string 11</idobject> <idpartner>sample string 3</idpartner> <idpurpose>sample string 17</idpurpose> <idvote>sample string 6</idvote> <namebank>sample string 29</namebank> <namedepartment>sample string 26</namedepartment> <namegroup>sample string 16</namegroup> <nameobject>sample string 13</nameobject> <namepurpose>sample string 19</namepurpose> <note>sample string 20</note> <numberbank>sample string 30</numberbank> <rate>22.1</rate> <source>5</source> <total>21.1</total> <totalrate>23.1</totalrate> <type>10</type> <yearmonthday>1</yearmonthday> </AccReceiptDetailAdd> </lstdetail> <lstreference>sample string 36</lstreference> <namecreate>sample string 25</namecreate> <namedeliver>sample string 14</namedeliver> <namedestroy>sample string 39</namedestroy> <nameedit>sample string 29</nameedit> <namegroup>sample string 18</namegroup> <namehuman>sample string 22</namehuman> <nameobject>sample string 13</nameobject> <note>sample string 19</note> <notedestroy>sample string 41</notedestroy> <ordering>1</ordering> <rate>34.1</rate> <source>2</source> <status>32</status> <total>33.1</total> <totalrate>35.1</totalrate> <type>10</type> <typevote>6</typevote> <yearmonthday>1</yearmonthday> </AccReceiptModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
DataUpdateName | Description | Type | Additional 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
{ "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
/**/ 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
<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>