Superfy Platform API Documentation


Total Collected per Asset API

Require Authentication

This API is used to generate Total Collected per Asset Report for the company based on combination of deviceID and token.


URL

api/reports/collectionsummarycollected

Required parameter (POST)

Optional parameter (POST)

All optional parameters use POST method.

Example JSON Payload

{
	"deviceID": "ABCD-EFGH-IJKL-MNOP",
	"token": "c43fa596e7916827106b591e2bb026cd",
	"projectID": [1, 2],
	"pintypeID": [1, 2]
}

Possible return HTTP status code

Return message

{
  "status": "success",
  "message": {
    "total_all": 5,
    "lists": [{
      "projectpinID": 9,
      "name": "test pin type API aedit",
      "total_collected": 5
    }]
  }
}