# Report Download

# HTTP request info

# URL

{domain}/open-api/report/download

# Method

POST

# Content-Type

application/json

# Request parameters

paramter name required type description
appId Yes string appId
param Yes string param
sign Yes string sign

# param

paramter name required type length example description
countryCode Yes string 1-32 fixed:TH countryCode
transDate Yes string 2023-12-27 transDate
transType Yes Integer 1:disbursement 2:payment transType
timestamp Yes long 1677495496979 timestamp

# Request example

# Param content

{
  "appId": "349094b672f347969422ca70123790477a8af",
  "sign": "p69kDdBZHWd08EGxk8GQp0q/jTz0iEzmp2P5fSWEjc4iTZugjGm4yS5B0VwYuxfbujPatPItqNOLGokTOdBWZ+zjwxHN0RylNsDhmQW7UGDZ+SrtC72tDVZy2bRm8fa9vVOA8SgS1rNZDfyGT+7gB5m6fn6jLl6+lsGXUuE+LZf+WG7rFtewgR6MTuavEI7PQg0piAx5ypS0dWyOlL6nqGP7w5ZnV6FV23JLuKVLpj/+kJ28GtIh7EHrg1/3JF6R2GodjzPCZQj8y9QS/K1IrJ1CIXU3UvHT2gvzIaiEInlivb5u4fYQEMvx7lpHt+xyJQYpFU/lX6pFLsKe/rGZcA==",
  "param": "{\"countryCode\":\"TH\",\"transDate\":\"2023-12-25\",\"transType\":2}"
}

How to construct request body


# Request body

paramter name type description
code integer code
message string message
data Object data

# data

paramter name type description
downloadUrl string downloadUrl

# Response example

code collection

{
  "code": 10000,
  "message": "Success",
  "data": {
    "downloadUrl": "https://calf.oss-cn-hongkong.aliyuncs.com/money/payment/file/payment_j487ee_1703588063916.xlsx?Expires=1703593266&OSSAccessKeyId=LTAI5tLj6xkzwL6zMSbewiaw&Signature=2d4qdO8QEDRACyhwJjB6FpFoLMs%3D"
  }
}