POST SAInvoice/v1/UpdateStatusMapSME

Update trạng thái đã hạch toán hóa đơn trên SME (bản v1)

Request Information

URI Parameters

None.

Body Parameters

ParamUpdateStatusSAInvoiMapping
NameDescriptionTypeAdditional information
BranchID

ID chi nhánh cần lấy dl

globally unique identifier

None.

CompanyCode

Mã cty/nhà hàng

string

None.

RefIDs

Danh sách RefIDs cần update trạng thái

Collection of string

None.

Status

Trạng thái muốn cập nhật (True - đã hoạch toán , False là chưa hạch toán)

boolean

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "BranchID": "2ef94602-7270-44ce-86ec-3104780bd6ca",
  "CompanyCode": "sample string 2",
  "RefIDs": [
    "sample string 1",
    "sample string 2"
  ],
  "Status": true
}

application/xml, text/xml

Sample:
<ParamUpdateStatusSAInvoiMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <BranchID>2ef94602-7270-44ce-86ec-3104780bd6ca</BranchID>
  <CompanyCode>sample string 2</CompanyCode>
  <RefIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </RefIDs>
  <Status>true</Status>
</ParamUpdateStatusSAInvoiMapping>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Update trạng thái đã hạch toán hóa đơn trên SME (bản v1)

GraphAPIResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Success

boolean

None.

ErrorMessage

string

None.

ErrorType

GraphAPIErrorType

None.

Total

integer

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Data": true,
  "Success": true,
  "ErrorMessage": "sample string 3",
  "ErrorType": 0,
  "Total": 4
}

application/xml, text/xml

Sample:
<GraphAPIResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <ActionType>Login</ActionType>
  <Data>true</Data>
  <ErrorMessage>sample string 3</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Success>true</Success>
  <Total>4</Total>
</GraphAPIResultOfboolean>