POST SMESync/DeleteVouchers

xóa chứng từ

Request Information

URI Parameters

None.

Body Parameters

SMEVoucherDeleteParam
NameDescriptionTypeAdditional information
ListRefIDMShop

Danh sách RefID MSHOP (Mỗi ID cách nhau dấu ';')

string

None.

CompanyCode

Mã công ty

string

None.

AccessToken

Chuỗi accessToken dùng khi call api cần authen(Login không cần truyền)

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "ListRefIDMShop": "sample string 1",
  "CompanyCode": "sample string 2",
  "AccessToken": "sample string 3"
}

application/xml, text/xml

Sample:
<SMEVoucherDeleteParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <AccessToken>sample string 3</AccessToken>
  <CompanyCode>sample string 2</CompanyCode>
  <ListRefIDMShop>sample string 1</ListRefIDMShop>
</SMEVoucherDeleteParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

xóa chứng từ

GraphAPIResultDeleteVoucherSME
NameDescriptionTypeAdditional information
Data

Dữ liệu trả về nếu có

Collection of SMEVoucherDeleteResult

None.

Success

Trạng thái yêu cầu (True - Thành công, False - thất bại)

boolean

None.

ErrorMessage

Thông báo lỗi trả về nếu có

string

None.

ErrorType

Mã lỗi

GraphAPIErrorType

None.

Total

Tổng số bản ghi

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Data": [
    {
      "RefID": "d02f0422-76a9-4570-9759-b612685191be",
      "RefNo": "sample string 2",
      "BranchID": "417bb2d8-565a-4f4a-b6b7-ac243afdda56",
      "BranchCode": "sample string 4"
    },
    {
      "RefID": "d02f0422-76a9-4570-9759-b612685191be",
      "RefNo": "sample string 2",
      "BranchID": "417bb2d8-565a-4f4a-b6b7-ac243afdda56",
      "BranchCode": "sample string 4"
    }
  ],
  "Success": true,
  "ErrorMessage": "sample string 2",
  "ErrorType": 0,
  "Total": 3
}

application/xml, text/xml

Sample:
<GraphAPIResultDeleteVoucherSME xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <Data>
    <SMEVoucherDeleteResult>
      <BranchCode>sample string 4</BranchCode>
      <BranchID>417bb2d8-565a-4f4a-b6b7-ac243afdda56</BranchID>
      <RefID>d02f0422-76a9-4570-9759-b612685191be</RefID>
      <RefNo>sample string 2</RefNo>
    </SMEVoucherDeleteResult>
    <SMEVoucherDeleteResult>
      <BranchCode>sample string 4</BranchCode>
      <BranchID>417bb2d8-565a-4f4a-b6b7-ac243afdda56</BranchID>
      <RefID>d02f0422-76a9-4570-9759-b612685191be</RefID>
      <RefNo>sample string 2</RefNo>
    </SMEVoucherDeleteResult>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Success>true</Success>
  <Total>3</Total>
</GraphAPIResultDeleteVoucherSME>