curl --location -g --request GET 'https://.enerpize.com/api2/time_tracking' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"code": 200,
"result": "successful",
"data": [
{
"TimeTracking": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"properties": {
"type": "string",
"properties": {
"id": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
},
"readOnly": {
"type": "string"
},
"examples": {
"type": "string",
"items": {
"type": "string"
}
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"user_id": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
},
"deprecated": {
"type": "string"
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"staff_id": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"project_id": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"activity_id": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"date": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
},
"examples": {
"type": "string",
"items": {
"type": "string"
}
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"time": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"pattern": {
"type": "string"
},
"description": {
"type": "string"
},
"examples": {
"type": "string",
"items": {
"type": "string"
}
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"notes": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"description": {
"type": "string"
},
"default": {
"type": "string"
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"created": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
},
"readOnly": {
"type": "string"
},
"examples": {
"type": "string",
"items": {
"type": "string"
}
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"modified": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
},
"readOnly": {
"type": "string"
},
"examples": {
"type": "string",
"items": {
"type": "string"
}
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"cost": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"description": {
"type": "string"
},
"readOnly": {
"type": "string"
},
"examples": {
"type": "string",
"items": {
"type": "string"
}
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"currency": {
"type": "string",
"properties": {
"type": {
"type": "string"
},
"maxLength": {
"type": "string"
},
"description": {
"type": "string"
},
"readOnly": {
"type": "string"
},
"examples": {
"type": "string",
"items": {
"type": "string"
}
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"work_order_id": {
"type": "string",
"properties": {
"type": {
"type": "string",
"items": {
"type": "string"
}
},
"description": {
"type": "string"
},
"default": {
"type": "string"
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
]
},
"required": {
"type": "string",
"items": {
"type": "string"
}
},
"x-apidog-orders": {
"type": "string",
"items": {
"type": "string"
}
},
"id": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
0
]
},
"user_id": {
"type": "string",
"format": "string",
"description": "string",
"deprecated": true
},
"staff_id": {
"type": "string",
"format": "string",
"description": "string"
},
"project_id": {
"type": "string",
"format": "string",
"description": "string"
},
"activity_id": {
"type": "string",
"format": "string",
"description": "string"
},
"date": {
"type": "string",
"format": "string",
"description": "string",
"examples": [
"string"
]
},
"time": {
"type": "string",
"pattern": "string",
"description": "string",
"examples": [
"string"
]
},
"notes": {
"type": "string",
"description": "string",
"default": "string"
},
"created": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
"string"
]
},
"modified": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
"string"
]
},
"cost": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
0
]
},
"currency": {
"type": "string",
"maxLength": "string",
"description": "string",
"readOnly": true,
"examples": [
"string"
]
},
"work_order_id": {
"type": [
"string"
],
"description": "string",
"default": null
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
],
"id": 123,
"user_id": 0,
"staff_id": 0,
"project_id": 0,
"activity_id": 0,
"date": "2008-12-09",
"time": "8:17",
"notes": "",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06",
"cost": 12.354,
"currency": "EGP",
"work_order_id": null,
"time_formatted": {
"hours": "1",
"minutes": "30",
"seconds": "0",
"string": "01:30"
}
}
}
],
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}