POST api/desktop/GetLiveUpdateConfig
Lấy file mapping xuất khẩu DVC Mỗi lần cập nhật file mapping trên API cần nâng version trong web.config để desktop lấy được file mới nhất
Request Information
URI Parameters
None.
Body Parameters
LiveUpdateParamName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
ProductCode | string |
None. |
|
CurrentVersion | string |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Status": 1, "ProductCode": "sample string 2", "CurrentVersion": "sample string 3", "Token": "sample string 4" }
text/xml
Sample:
<LiveUpdateParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity.Param"> <CurrentVersion>sample string 3</CurrentVersion> <ProductCode>sample string 2</ProductCode> <Status>1</Status> <Token>sample string 4</Token> </LiveUpdateParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GeneralServiceResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Data | Object |
None. |
|
CustomData | Object |
None. |
|
Code | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": {}, "CustomData": {}, "Code": "sample string 4", "Message": "sample string 5" }
text/xml
Sample:
<GeneralServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity.Response"> <Code>sample string 4</Code> <CustomData /> <Data /> <Message>sample string 5</Message> <Success>true</Success> </GeneralServiceResult>