API ReferenceGoals
Get By Id Admin
GET
HttpBearerAuthheader
AuthorizationBearer <JWT>item_id*Item IdSuccessful Response
application/json- response
id*Iddatetime_created_at*Datetime Created Atdatetime_updated_at*Datetime Updated Atparent_goal*|nulltitle*Titledescription*string|nullowner_type*SKGoalOwnerTypeValue in
"company""department""team""employee"owner_employee_id*integer|nullowner_department_id*integer|nullowner_team_id*integer|nullis_shared*Is Shareddate_start*Date StartFormat
datedate_end*Date EndFormat
datestatus*SKGoalStatusValue in
"active""completed""cancelled""failed"progress*string|nullconfidence_level*SKGoalConfidenceLevelValue in
"on_track""at_risk""off_track"weight*Weightis_archived*Is Archivedgoal_key_results*array<>goal_key_results_count*Goal Key Results Countacl*has_children*Has Childrencreated_by*|nullassign_to*|nullvisible_to*array<>|nulldatetime_key_results_update_at*Datetime Key Results Update Atcurl -X GET 'https://api.skailer.com/api/v1/goals/0'Example Response
{ "id": 0, "datetime_created_at": "string", "datetime_updated_at": "string", "parent_goal": { "id": 0, "datetime_created_at": "string", "datetime_updated_at": "string", "parent_goal_id": 0, "title": "string", "description": "string", "owner_type": "company", "owner_id": 0, "is_shared": true, "date_start": "2019-08-24", "date_end": "2019-08-24", "status": "active", "progress": "string", "confidence_level": "on_track", "weight": "string", "is_archived": true, "created_by": 0, "assign_to_ids": [ 0 ], "visible_to_ids": [ 0 ], "datetime_key_results_update_at": "string" }, "title": "string", "description": "string", "owner_type": "company", "owner_employee_id": 0, "owner_department_id": 0, "owner_team_id": 0, "is_shared": true, "date_start": "2019-08-24", "date_end": "2019-08-24", "status": "active", "progress": "string", "confidence_level": "on_track", "weight": "string", "is_archived": true, "goal_key_results": [ { "id": 0, "datetime_created_at": "string", "datetime_updated_at": "string", "goal_id": 0, "title": "string", "description": "string", "metric_type": "number", "start_value": { "value_float": "string", "value_bool": true, "value_text": "string" }, "target_value": { "value_float": "string", "value_bool": true, "value_text": "string" }, "current_value": { "value_float": "string", "value_bool": true, "value_text": "string" }, "progress": "string", "confidence_level": "on_track", "weight": "string", "goal_key_result_check_ins": [ { "id": 0, "datetime_created_at": "string", "datetime_updated_at": "string", "goal_id": 0, "goal_key_result_id": 0, "employee_id": 0, "value": "string" } ] } ], "goal_key_results_count": 0, "acl": { "can_edit": false, "can_delete": false }, "has_children": true, "created_by": { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": false }, "assign_to": { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": false }, "visible_to": [ { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": false } ], "datetime_key_results_update_at": "string"}