POST SMESync/UpdateVouchers
update trạng thái hạch toán
Request Information
URI Parameters
None.
Body Parameters
SMEUpdateVouchersParamName | Description | Type | Additional information |
---|---|---|---|
SMEVoucherResult | string |
None. |
|
BranchID | globally unique identifier |
None. |
|
CompanyCode | string |
None. |
|
AccessToken | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "SMEVoucherResult": "sample string 1", "BranchID": "484f627d-e781-4f00-b290-07645b090734", "CompanyCode": "sample string 3", "AccessToken": "sample string 4" }
application/xml, text/xml
Sample:
<SMEUpdateVouchersParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <AccessToken>sample string 4</AccessToken> <BranchID>484f627d-e781-4f00-b290-07645b090734</BranchID> <CompanyCode>sample string 3</CompanyCode> <SMEVoucherResult>sample string 1</SMEVoucherResult> </SMEUpdateVouchersParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
update trạng thái hạch toán
GraphAPIResultOfSMEListVoucherResultName | Description | Type | Additional information |
---|---|---|---|
Data | SMEListVoucherResult |
None. |
|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
ErrorType | GraphAPIErrorType |
None. |
|
Total | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "Data": { "Data": [ { "VoucherType": 0, "RelationRefID": "sample string 1", "ListRefIDRelation": "sample string 2", "Data": "sample string 3", "RefIDCukCuk": "9b5450a0-3932-449a-b8f3-a7a9ae299160" }, { "VoucherType": 0, "RelationRefID": "sample string 1", "ListRefIDRelation": "sample string 2", "Data": "sample string 3", "RefIDCukCuk": "9b5450a0-3932-449a-b8f3-a7a9ae299160" } ], "Dictionary": [ { "DictionaryType": 0, "Data": "sample string 1" }, { "DictionaryType": 0, "Data": "sample string 1" } ] }, "Success": true, "ErrorMessage": "sample string 2", "ErrorType": 0, "Total": 3 }
application/xml, text/xml
Sample:
<GraphAPIResultOfSMEListVoucherResultHwd4PmMc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <ActionType>Login</ActionType> <Data> <Data> <SMEDataResult> <Data>sample string 3</Data> <ListRefIDRelation>sample string 2</ListRefIDRelation> <RefIDCukCuk>9b5450a0-3932-449a-b8f3-a7a9ae299160</RefIDCukCuk> <RelationRefID>sample string 1</RelationRefID> <VoucherType>PUInvoice</VoucherType> </SMEDataResult> <SMEDataResult> <Data>sample string 3</Data> <ListRefIDRelation>sample string 2</ListRefIDRelation> <RefIDCukCuk>9b5450a0-3932-449a-b8f3-a7a9ae299160</RefIDCukCuk> <RelationRefID>sample string 1</RelationRefID> <VoucherType>PUInvoice</VoucherType> </SMEDataResult> </Data> <Dictionary> <SMEDictionaryResult> <Data>sample string 1</Data> <DictionaryType>InvetoryItemCategory</DictionaryType> </SMEDictionaryResult> <SMEDictionaryResult> <Data>sample string 1</Data> <DictionaryType>InvetoryItemCategory</DictionaryType> </SMEDictionaryResult> </Dictionary> </Data> <ErrorMessage>sample string 2</ErrorMessage> <ErrorType>None</ErrorType> <Success>true</Success> <Total>3</Total> </GraphAPIResultOfSMEListVoucherResultHwd4PmMc>