Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
POST

Resume an employee time session

Scope: team:time-tracking.write https://api.alladdin.com/api/v2/employees/{employeeId}/unpause

Resumes a paused time tracking session for the employee.

Parameters

Path parameters

employeeId string required

Employee ID

Request body

object latitude number<float> | null

Latitude coordinate

longitude number<float> | null

Longitude coordinate

Request

python
import requests

url = "https://api.alladdin.com/api/v2/employees/{employeeId}/unpause"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "latitude": 0,
    "longitude": 0
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "id": "string"
}

Success responses

200 Pause ended application/json object id string

Error responses

400 Bad request application/json 401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 No running time entry found application/json 422 Validation error application/json 429 Rate limit exceeded application/json

← PreviousPause an employee time session →

Next →Update an employee time entry →