curl --location -g --request PUT 'https://.enerpize.com/api2/time_tracking/' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
],
"user_id": 0,
"staff_id": 0,
"project_id": 0,
"activity_id": 0,
"date": "2008-12-09",
"time": "8:17",
"notes": "",
"work_order_id": null
}
}'{
"code": 200,
"result": "successful"
}