營業額


依據時間區間取得每日營業額

  • URL
    /turnover

  • Method
    GET

  • URL Params
    Required:
    from=[string]
    to=[string]

  • Data Params
    None

  • Success Response:

    • Code:200 OK

      Content: 請參考範例說明

  • Error Response:

    • Code : 400 Bad Request

      Content : { error : "無效的參數值" }

  • Examples:

     GET /turnover?from=long&to=long
    
     Response:
     {
         "result": [   
             {
                 date : long,
                 value: 345832,
                 unit: "元"
              },
              {
                  date : long,
                  value: 445652,
                  unit: "元"
               }
        ]
    }
    

results matching ""

    No results matching ""