POST api/MemBer/cost

取得會員消費資料

Request Information

Parameters

NameDescriptionAdditional information
req

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "credential": {
    "member_access_token": "sample string 1",
    "device_uuid": "sample string 2"
  },
  "query_start_date": "sample string 1",
  "query_end_date": "sample string 2",
  "offset": 3,
  "channel": 4
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "rcrm": {
    "RC": 1,
    "RM": "sample string 2"
  },
  "results": {
    "transaction_history": [
      {
        "transaction_history_info": [
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          },
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          },
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          }
        ],
        "month": "sample string 1"
      },
      {
        "transaction_history_info": [
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          },
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          },
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          }
        ],
        "month": "sample string 1"
      },
      {
        "transaction_history_info": [
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          },
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          },
          {
            "id": "sample string 1",
            "brand_id": "sample string 2",
            "cost": "sample string 3",
            "detail": [
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              },
              {
                "title": "sample string 1",
                "message": "sample string 2"
              }
            ]
          }
        ],
        "month": "sample string 1"
      }
    ]
  },
  "next": 1
}