POST CallBack/ACTCallBackResult
ACTCallBackResult (Tu ACT)
Request Information
URI Parameters
None.
Body Parameters
ACTCallbackDataName | Description | Type | Additional information |
---|---|---|---|
Success |
Trạng thái: true thành công, false thất bại |
boolean |
None. |
ErrorCode |
Mã lỗi |
string |
None. |
ErrorMessage |
Thông tin chi tiết lỗi |
string |
None. |
Signature |
chữ ký: = thông tin dùng hàm GeneratorSHA256HMAC(data , publickey của rsa) |
string |
None. |
DataType |
Loại dữ liệu trả về |
ACTEnumCallBackDataType |
None. |
OrgCompanyCode |
Mã công ty phía dữ liệu nguồn |
string |
None. |
AppID |
ID ứng dụng |
string |
None. |
Data |
Dữ liệu trả về dạng string Nếu đầu vào là object sẽ tự động Serialize thành string |
string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "Success": true, "ErrorCode": "sample string 2", "ErrorMessage": "sample string 3", "Signature": "sample string 4", "DataType": 0, "OrgCompanyCode": "sample string 5", "AppID": "sample string 6", "Data": "sample string 7" }
application/xml, text/xml
Sample:
<ACTCallbackData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <AppID>sample string 6</AppID> <Data>sample string 7</Data> <DataType>None</DataType> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <OrgCompanyCode>sample string 5</OrgCompanyCode> <Signature>sample string 4</Signature> <Success>true</Success> </ACTCallbackData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ACTCallBackResult (Tu ACT)
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |