The identity and technical contract details declared by the specification.
s12.tasks.v1.IncidentsService.UpdateDueAtBody
object
UpdateDueAtRequest represents the parameter to update the due date of the task.
2 properties
s12.tasks.v1.GetIncidentsRequest.Filter
object
Filters represents a filters object which contains the filters available when listing issues. You can provide an array of filters in the request to get a more…
16 properties
s12.tasks.v1.GetIncidentsRequest.Filter.CategoryID
object
Will return issues that have a matching category.
2 properties
s12.tasks.v1.GetIncidentsRequest.Filter.FilterOperator
string
The options available when defining a filter. The only available option is IN. - FILTEROPERATORUNKNOWN: FILTEROPERATORUNKNOWN represents the default value for…
s12.tasks.v1.TimelineItem.TaskCustomFieldUpdatedMessageData
object
2 properties
s12.tasks.v1.TimelineItem.TaskImageUploadedMessageData
object
Data about when an image was added to a task. @deprecated This has been deprecated in favour of media messages. This is because the media messages allow videos…
1 property
s12.tasks.v1.TimelineItem.TaskInspectionAddedMessageData
object
Data about when an inspection is linked to this issue.
2 properties
s12.tasks.v1.TimelineItem.TaskAssigneeUpdatedMessageData
object
Data about when an assignee was updated.
1 property
s12.tasks.v1.TimelineItem.TaskAnswerAddedMessageData
object
Data about when a custom question was answered on this issue.
3 properties
s12.tasks.v1.GetIncidentsRequest.Filter.AssigneeID
object
Will return issues where the user ID of the assignee matches the provided value.
2 properties
s12.tasks.v1.CreateIncidentResponse
object
1 property
s12.tasks.v1.Category
object
A category is used to classify an issue. For example, you can filter issues by category for analytics, or give users or groups access to issues from a category.
12 properties
s12.tasks.v1.Task.SliderAnswer
object
3 properties
s12.tasks.v1.CategoryVisibilitySummary
object
3 properties
s12.tasks.v1.TimelineItem.TaskLabelsUpdatedMessageData
object
Data about when labels were updated on this action.
1 property
s12.tasks.v1.GetIncidentsRequest.Filter.TaskID
object
2 properties
s12.tasks.v1.Task.RangeComparison
object
Used to compare values within a range.
2 properties
s12.tasks.v1.TimelineItem.TaskOccurredAtUpdatedMessageData
object
Data about when the occurred at date of the task was updated.
1 property
s12.tasks.v1.GetIncidentsRequest.SortField
string
The options available to sort the issues by. By default, the issues will be returned by the date they were last modified in descending order. This should be us…
s12.tasks.v1.Item.ItemType
string
- ITEMTYPEUNSPECIFIED: The item type is unspecified
s12.tasks.v1.SharedLinkService.GenerateForWebReportBody
object
1 property
s12.tasks.v1.TaskType
string
- TASKTYPEACTION: Indicates this task is of type Action. - TASKTYPECUSTOM: Indicates this task is of a custom type.
s12.tasks.v1.TimelineItem.ActivityCreatorType
string
The type of individual who has created this timeline item. - TYPENOTSET: An unknown type of creator. - INTERNALUSER: The creator is an authenticated user withi…
s12.tasks.v1.GetIncidentsRequest.SortDirection
string
The options available to define the sort direction. - SORTDIRECTIONUNKNOWN: SORTDIRECTIONUNKNOWN will return the default sort direction. - ASC: ASC will return…
s12.tasks.v1.IncidentsService.UpdateOccurredAtBody
object
2 properties
s12.tasks.v1.TimelineItem.TaskMediaUploadedMessageData
object
Data about when media files were added to the task.
2 properties
s12.tasks.v1.IncidentsService.UpdateCategoryBody
object
2 properties
1 required
s12.tasks.v1.Item
object
6 properties
s12.tasks.v1.UpdateSiteResponse
object
s12.tasks.v1.CollaboratorRole
string
- ASSIGNEE: The collaborator has been assigned to a task. - CREATOR: The collaborator has created the task.
s12.common.Color
object
3 properties
s12.tasks.v1.Task.SensorAlertContext
object
10 properties
s12.tasks.v1.SubmitIncidentRequest.QuestionAnswer
object
QuestionAnswer contains data about a question configured for this issue's category, as well as the answer to that question.
3 properties
s12.tasks.v1.GetIncidentsCountResponse
object
1 property
s12.tasks.v1.Task.TextAnswer
object
3 properties
s12.common.v1.AiMarking
object
AiMarking carries the AI marking fact on an API representation, so a machine can read whether AI and whether a person produced or changed the content. It is th…
2 properties
s12.tasks.v1.Task.CheckboxAnswer
object
1 property
s12.tasks.v1.IncidentsService.UpdateTitleBody
object
UpdateTitleRequest represents the parameters to update the title of the task.
2 properties
s12.tasks.v1.Group
object
2 properties
s12.tasks.v1.TimelineItem.Type
string
The type of the timeline item. - TIMELINEITEMUNKNOWN: Removed fields related to the cancelled actions/issues integration An unknown type of timeline item. - TA…
s12.tasks.v1.Question.QuestionType
string
- QUESTIONTYPEUNSPECIFIED: The question type is unspecified. This generally should not happen. - QUESTIONTYPETEXT: The question is text type. This question acc…
s12.tasks.v1.Task.Collaborator
object
A collaborator is somebody who is involved with the task. They have either created the task, or are assigned to it.
7 properties
s12.tasks.v1.IncidentsService.UpdateAssetBody
object
2 properties
s12.tasks.v1.MetricType
string
- TEMPERATURE: Temperature metric - HUMIDITY: Humidity metric - BATTERY: Battery level. Percentage based i.e. 0 - 100 - SIGNAL: Signal strength metric - AIRQUA…
s12.tasks.v1.Incident
object
An Incident represents the details of an issue. This can include the category, any attached media, the location, any linked inspections and the task associated…
10 properties
s12.tasks.v1.Task.AddressAnswer
object
2 properties
s12.tasks.v1.Question
object
Question represents the question structure for a custom question.
5 properties
s12.tasks.v1.TimelineItem.ActivityCreator
object
Creator of the timeline item.
3 properties
s12.tasks.v1.SubmitIncidentResponse
object
2 properties
s12.tasks.v1.TimelineItem.TaskMediaDeletedMessageData
object
Data about when a media file was deleted from the task.
1 property
s12.tasks.v1.TimelineItem.TaskInspectionCompletedMessageData
object
Data about when an inspection linked to this issue is completed.
2 properties
s12.tasks.v1.IncidentsResponse
object
3 properties
s12.tasks.v1.Task.User
object
The user associated to the task. They could be a creator or assignee.
3 properties
s12.tasks.v1.TextAnswerFormat
string
- TEXT: Normal textsingle item - NUMBER: Textsingle item with number format
s12.tasks.v1.TimelineItem.TaskCreatedMessageData
object
Data about when an action was created.
1 property
s12.tasks.v1.TimelineItem
object
TimelineItem contains information about each item in the timeline.
30 properties
s12.tasks.v1.Task.InspectionContext
object
22 properties
s12.tasks.v1.Task.TemperatureAnswer
object
6 properties
s12.tasks.v1.ActionLabel
object
ActionLabel is the label that's selected for an action.
2 properties
s12.common.UUIDValue
object
Wrapper message for a string representation of a UUID.
1 property
s12.tasks.v1.ReferenceType
string
Reference type. The idea here is to list all the "external" types that would be used as a reference when creating actions.
s12.tasks.v1.Task.LinkedInspectionContext
object
Context of an inspection started from a template associated with the action.
9 properties
s12.tasks.v1.GetIncidentsRequest.Filter.Duration
object
2 properties
s12.tasks.v1.TimelineItem.TaskAssigneeAddedMessageData
object
Data about when an assignee was added to the task.
1 property
s12.tasks.v1.QuestionAndAnswers
object
QuestionAndAnswers represents the list of answers associated with a single question. This is a 1:N relationship of Question to Answers, meaning a question may…
3 properties
s12.tasks.v1.AddCommentRequest
object
4 properties
2 required
s12.tasks.v1.IncidentsService.UpdatePriorityBody
object
2 properties
1 required
s12.tasks.v1.TimelineItem.TaskInspectionDeletedMessageData
object
Data about when an inspection linked to this issue was deleted.
2 properties
s12.tasks.v1.Task.ListResponse
object
2 properties
s12.tasks.v1.CreateIncidentRequest
object
14 properties
2 required
s12.tasks.v1.MultipleChoiceOptions
object
MultipleChoiceOptions is an explicit message for a set of MultipleChoiceOption's to use in a oneof field below.
1 property
s12.tasks.v1.Task.ExternalUser
object
The external user that is assigned to a task.
2 properties
s12.tasks.v1.GetCategoriesResponse
object
GetCategoriesResponse represents the response to a GetCategories request. It is an array of Category, containing data about the organization's categories.
3 properties
s12.tasks.v1.GetIncidentsRequest.Filter.SiteID
object
Will return issues that have a matching site.
2 properties
s12.tasks.v1.Task.AssetMaintenancePlan.AssetMaintenancePlanState
string
- ASSETMAINTENANCEPLANSTATEUNSPECIFIED: ASSETMAINTENANCEPLANSTATEUNSPECIFIED is an unknown maintenance plan state. - ASSETMAINTENANCEPLANSTATEACTIVE: ASSETMAIN…
s12.tasks.v1.TimelineItem.TaskNotificationSentMessageData
object
Data about when a notification is sent about a task.
7 properties
s12.tasks.v1.Task
object
25 properties
s12.tasks.v1.AlertEventLevel
string
- OK: OK level indicates that device metric became healthy - INFO: INFO level indicates that the first alert event sent - WARN: WARN level indicates that the s…
s12.tasks.v1.TimelineItem.TaskDueAtUpdatedMessageData
object
Data about when the due date of a task was changed.
1 property
s12.tasks.v1.GetTimelineResponse
object
1 property
s12.tasks.v1.TaskTemplate
object
Metadata related to the template associated with this action.
6 properties
s12.tasks.v1.QuestionAnswers
object
2 properties
s12.tasks.v1.Task.AssetMaintenancePlanContext
object
2 properties
s12.tasks.v1.Task.ActionContext
object
10 properties
s12.tasks.v1.CategoryNotificationDetail
string
CategoryNotificationDetail represents the different level of detail for category notifications. - CATEGORYNOTIFICATIONDETAILUNSPECIFIED: CATEGORYNOTIFICATIONDE…
s12.tasks.v1.QuestionAnswer
object
QuestionAnswer contains data about a question configured for this issue's category, as well as the answer to that question.
3 properties
s12.tasks.v1.Task.Group
object
The group that is assigned to a task.
2 properties
s12.tasks.v1.Type
object
The type associated with an action.
3 properties
s12.tasks.v1.TimelineItem.TaskCommentAddedMessageData
object
Data about when a comment is added to a task.
1 property
s12.tasks.v1.IncidentsService.UpdateSiteBody
object
2 properties
s12.tasks.v1.Task.AssetMaintenanceProgram.AssetMaintenanceProgramState
string
- ASSETMAINTENANCEPROGRAMSTATEUNSPECIFIED: ASSETMAINTENANCEPROGRAMSTATEUNSPECIFIED is an unknown maintenance program state. - ASSETMAINTENANCEPROGRAMSTATEACTIV…
google.rpc.Status
object
3 properties
s12.tasks.v1.Task.Reference
object
9 properties
s12.tasks.v1.Task.SwitchAnswer
object
Answer returned for SwitchItem, exists in old inspections Users can’t change answer to them & can’t attach actions to them either.
1 property
s12.tasks.v1.Task.DateTimeAnswer
object
3 properties
s12.tasks.v1.TimelineItem.TaskPriorityUpdatedMessageData
object
Data about when the priority of a task was updated.
1 property
s12.tasks.v1.IncidentResponse
object
1 property
s12.tasks.v1.Task.DrawingAnswer
object
1 property
s12.tasks.v1.GetIncidentsRequest.Filter.StatusID
object
Will return issues that have a matching status. An issue can be open or resolved, and these are represented by hardcoded UUID values. Open status: 547ed646-5e3…
2 properties
s12.tasks.v1.TimelineItem.TaskScheduleUpdatedMessageData
object
1 property
s12.tasks.v1.GenerateResponse
object
1 property
s12.tasks.v1.Task.SignatureAnswer
object
3 properties
s12.tasks.v1.TimelineItem.TaskAssetUpdatedMessageData
object
Data about when the asset of this task was updated.
2 properties
s12.tasks.v1.TimelineItem.TaskLocationAddedMessageData
object
Data about when a location is added to a task.
1 property
s12.tasks.v1.GetIncidentQuestionsAndAnswersResponse
object
GetIncidentQuestionsAndAnswersResponse returns a list of questions and answers associated with an issue ID.
1 property
s12.tasks.v1.Task.AssetMaintenancePlan
object
AssetMaintenancePlan represents the maintenance plan associated with the action.
3 properties
s12.tasks.v1.Task.MediaAnswer
object
1 property
s12.tasks.v1.GetIncidentsRequest.Filter.Search
object
Will return issues where the title and/or description contain the search term.
1 property
s12.tasks.v1.Task.Asset
object
3 properties
s12.tasks.v1.MultipleChoiceOption
object
MultipleChoiceOption represents a possible answer for a multiple choice question.
2 properties
s12.common.MediaType
string
- MEDIATYPEIMAGE: An image file (GIF, JPG, PNG, WEBP). - MEDIATYPEVIDEO: A video file (MP4, MOV). - MEDIATYPEPDF: A PDF document. - MEDIATYPEDOCX: A Microsoft…
s12.tasks.v1.IncidentsService.UpdateStatusBody
object
UpdateStatusRequest represents the parameters for UpdateStatus.
2 properties
1 required
google.protobuf.Any
object
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides supp…
1 property
s12.tasks.v1.GetIncidentsRequest.Filter.PriorityID
object
Will return issues that have a matching priority. The priority of an issue can be one of four options: none, low, medium or high. Each of these are represented…
2 properties
s12.tasks.v1.Inspection.InspectionStatus
string
- INSPECTIONSTATUSUNSPECIFIED: The status of the inspection is unspecified - INSPECTIONSTATUSINPROGRESS: The status of the inspection is 'In Progress' - INSPEC…
s12.tasks.v1.Task.InspectionItem
object
4 properties
s12.tasks.v1.Inspection
object
5 properties
s12.tasks.v1.Task.AssetMaintenanceProgram
object
AssetMaintenanceProgram represents the maintenance program where the maintenance plan belongs.
3 properties
s12.tasks.v1.TimelineItem.TaskCategoryUpdatedMessageData
object
Data about when an issue's category was updated.
2 properties
s12.common.TemperatureUnit
string
- KELVIN: Represents Kelvin temperature unit - CELSIUS: Represents Celsius temperature unit - FAHRENHEIT: Represents Fahrenheit temperature unit
s12.common.GeoPosition
object
A position is the fundamental geographical geometry construct.
3 properties
s12.tasks.v1.Task.SensorContext
object
s12.tasks.v1.Task.ListAnswer
object
1 property
s12.tasks.v1.Task.AddressLocation
object
The location of the task. The latitude and longitude in the geoposition object are required. All other fields are optional, but add extra context to the locati…
11 properties
s12.tasks.v1.TimelineItem.TaskSiteUpdatedMessageData
object
Data about when the folder (site) of this task was updated.
2 properties
s12.tasks.v1.Task.Inspection
object
2 properties
s12.tasks.v1.CategoryUserAccessAsReporter
string
s12.tasks.v1.IncidentsService.RemoveCollaboratorsBody
object
2 properties
s12.tasks.v1.Task.Attachments
object
2 properties
s12.tasks.v1.GetIncidentsRequest.Filter.CreatorID
object
Will return issues where the user ID of the creator matches the provided value.
2 properties
s12.tasks.v1.Task.IncidentContext
object
9 properties
s12.tasks.v1.GetIncidentsRequest
object
GetIncidentsRequest represents the parameters to GetIncidents.
5 properties
s12.tasks.v1.GetTimelineRequest
object
1 property
1 required
s12.tasks.v1.GetIncidentsRequest.Filter.AssetID
object
2 properties
s12.tasks.v1.Task.Contributor
object
4 properties
s12.tasks.v1.AnswerText
object
A type of answer for a custom question containing text data.
1 property
s12.tasks.v1.IncidentsService.UpdateDescriptionBody
object
2 properties
s12.tasks.v1.IncidentsService.AddCollaboratorsBody
object
2 properties
s12.tasks.v1.Answer
object
Answer contains information about the answer to a custom question.
4 properties
s12.tasks.v1.UpdateAssetResponse
object
s12.tasks.v1.SubmitIncidentRequest
object
19 properties
2 required
s12.common.MeasurementUnitSymbol
string
Collection of symbols (km, mi, hr, etc) used in units of measurement. - MEASUREMENTUNITSYMBOLKILOMETERS: Measurement unit symbol for kilometers. - MEASUREMENTU…
s12.tasks.v1.DeleteIncidentsRequest
object
DeleteIncidentsRequest represents the list of issue UUIDs to delete.
2 properties
1 required
s12.tasks.v1.Task.Status
object
4 properties
s12.tasks.v1.Task.NumberComparison
object
Used to compare values against a single number.
1 property
s12.tasks.v1.CollaboratorType
string
- USER: The collaborator is an internal user. - GROUP: The collaborator is a group. - EXTERNALUSER: The collaborator is an external user. This happens when a t…
s12.tasks.v1.UpdateOccurredAtResponse
object
s12.tasks.v1.Task.Site
object
The folder (site) data of this task.
4 properties
s12.tasks.v1.GetPDFReportResponse
object
1 property
s12.tasks.v1.TimelineItem.IncidentCreatedMessageData
object
Data about when an issue was created.
1 property
s12.common.Media
object
4 properties
s12.tasks.v1.TimelineItem.TaskStatusUpdatedMessageData
object
Data about when the status of a task was updated.
1 property
The full machine-readable OpenAPI contract behind this narrative.
Other APIs SafetyCulture publishes across the network.