1. Schemas
Hustro API
  • Analytics
    • Get average issue resolution time
    • Get detected and resolved issues statistics
  • Company
    • Get all companies from a project
    • Create company
    • Update company with specified id
    • Remove company with specified id
    • Restore company with specified id
  • Compliance check document
    • Create new compliance check document
    • Edit compliance check document
    • Remove compliance check document
  • Contract
    • Get all contracts from a project
    • Create contract on a project
    • Update contract with specified id
    • Remove contract with specified id
    • Restore contract with specified id
  • Client
    • Get clients
    • Create Client
    • Update Client
  • Checklist Item
    • Create Checklist Item
    • Update Checklist Item
    • Delete Checklist Item
    • Reorder checklist item
  • Checklist Section
    • Create Checklist Section
    • Update Checklist Section
    • Delete Checklist Section
    • Reorder checklist section
  • Custom field values
    • Create
      • Create rootCause
      • Create effect
      • Create delayReason
      • Create rejectionReason
      • Create issueVerification
      • Create circumstances
      • Create impact
      • Create priority
      • Create projectStage
      • Create decisionToImposeFine
      • Create spilledSubstance
      • Create employmentType
      • Create injuryType
      • Create injuredBodyPart
      • Create worktype
      • Create hazardCategory
      • Create environmentalAspect
      • Create correctiveActionType
    • Translations
      • Create translation rootCause
      • Create translation effect
      • Create translation delayReason
      • Create translation rejectionReason
      • Create translation issueVerification
      • Create translation circumstances
      • Create translation impact
      • Create translation priority
      • Create translation projectStage
      • Create translation decisionToImposeFine
      • Create translation spilledSubstance
      • Create translation employmentType
      • Create translation injuryType
      • Create translation injuredBodyPart
      • Create translation worktype
      • Create translation hazardCategry
      • Create translation environmentalAspect
      • Create translation correctiveActionType
    • VisibleOnProcess
      • Create visibleOnProcess rootCause
      • Create visibleOnProcess effect
      • Create visibleOnProcess delayReason
      • Create visibleOnProcess rejectionReason
      • Create visibleOnProcess issueVerification
      • Create visibleOnProcess circumstances
      • Create visibleOnProcess impact
      • Create visibleOnProcess priority
      • Create visibleOnProcess projectStage
      • Create visibleOnProcess decisionToImposeFine
      • Create visibleOnProcess spilledSubstance
      • Create visibleOnProcess employmentType
      • Create visibleOnProcess injuryType
      • Create visibleOnProcess injuredBodyPart
      • Create visibleOnProcess worktype
      • Create visibleOnProcess hazardCategory
      • Create visibleOnProcess environmentalAspect
      • Create visibleOnProcess correctiveActionType
    • Existing custom values
      • Get worktypes
      • Get hazardCategories
      • Get environmentalAspect
      • Get correctiveActionType
      • Get impact
      • Get rootCause
      • Get effect
      • Get delayReason
      • Get rejectionReason
      • Get issueVerification
      • Get circumstances
      • Get projectStage
      • Get decisionToImposeFine
      • Get spilledSubstance
      • Get employmentType
      • Get injuryType
      • Get injuredBodyPart
  • Documentation
    • GET documentation version signedUrl
    • Create documentation
    • Get documentations
    • Update documentation
    • Delete documentation
    • Restore documentation
    • PUT documentation presigned post
    • PUT documentation uploadConfirmation
    • AWS documentation upload
  • Document
    • On Issue
      • Update document
      • Export document to documentation
      • Import documentation to issue
      • Upload confirmation
      • Upload failure
      • Download data
      • Delete document
      • Create document
      • Drawing start
      • Get single document
      • Get document from incoming email
    • On Event
      • Upload confirmation
      • Upload failure
      • Download data
      • Get single document from event
      • Delete document
      • Create document
    • On Inspection Template
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • On Checklist Item
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • On Checklist Section
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • On Protocol Item
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • On Protocol Section
      • Create document on protocol section
      • Update document on protocol section
      • Delete document on protocol section
      • Download data for protocol section document
      • Upload confirmation for protocol section document
      • Upload failure for protocol section document
    • Shared Document
      • Get shared document with event
      • Get shared document
  • Dir
    • Create dirs batch
    • Create dir
    • Get dirs
    • Update dir
    • Delete dir
    • Restore dir
  • Event
    • Create event
    • Update event
    • Get single event
    • Delete event
  • Form
    • GET issue form
  • gdpr
    • Get GDPR
  • Issue
    • Get all issues from a project
    • Create issue
    • Get single issue
    • Update issue
    • Delete issue
    • Restore issue
    • Get changelog
    • Get inspection issues
  • Issue access
    • Edit access
    • Delete access
    • Create access item
  • Inspection
    • Get all inspections
    • Create new inspection
    • Edit inspection
    • Get single inspection
  • Incoming Email Message Content
    • Get Incoming Email Message Content
  • Lambda
    • Lambda drawing merged upload confirmation
  • Level
    • Get levels
    • Create level
    • Edit level
    • Update levels
    • Delete level
    • Restore level
  • Logo - on client
    • GET logos
    • Create logo
    • AWS logo upload
    • Update logo
  • Logo - on project
    • GET logos
    • Create logo
    • Update logo
  • Norm document
    • Post new file as norm document
    • Edit norm document
    • Delete norm document
  • Open Api app
    • Create client application
    • Create oauth token
    • Get client applications
    • Delete client application
  • PdfFooter
    • GET footers
    • Create footer
    • Update footer
    • Delete footer
  • PDF reports
    • Create single issue PDF report
    • Create issue list PDF report
    • Create inspection PDF report
  • Project
    • Get projects
    • Create project
    • Update Project
  • Public
    • Get Status
    • Get PDF Service Status
    • Get Icons
    • Get Android Asset Links
    • Get iOS Asset Links
    • Get SimpleForm (Public)
    • Get Client (Public)
    • Get Logo Download (Public)
  • Protocol item
    • Update inspection protocol item
  • Protocol section
    • Update protocol section
  • Process
    • Update process workflow
    • Get processes
  • Site
    • Get sites
    • Create Site
    • Edit Site
    • Delete Site
    • Restore Site
  • SimpleForm
    • Get Simple Forms
    • Get SimpleForm details
    • Get projects
    • Get sites for project
    • Get levels for site
    • Get documentation version download
    • Send Creation Notification
    • Create issue
    • Create SimpleForm
    • Update Simple Form
  • Statistics
    • Company score
    • Issue average resolution time
    • Detected Resolved Issues
  • Template
    • Create new template
    • Get all templates
    • Update single template
    • Get inspection template
    • Delete inspection template
  • User
    • Get user-me
    • Get users on project
    • Update user permissions
    • Create user
    • Update user
  • Visible fields
    • GET visible fields
    • Set visible fields
  • Worktype
    • Get all worktypes from a project
  • AWS
    • AWS s3 upload file
  • IssueWorkflow
    • Get project workflows
    • Create a workflow
    • Update a workflow
  • WorkflowStage
    • Create a stage in a workflow
    • Update a stage
    • Delete a stage
    • Reorder a stage
  • Workflow Decision
    • Create workflow decision
  • Template Checklist Answers
    • Add checklist answer
    • Update checklist answer
    • Delete checklist answer
  • Set emergency phone number
    PUT
  • Schemas
    • Schemas
      • DependedItemDto
      • HazardCategoriesOutDto
      • DependsOnDto
      • EnvironmentalAspectOutDto
      • FieldDto
      • CorrectiveActionOutDto
      • PdfIssueListReportInDto
      • IssueReportOutDto
      • InspectionReportOutDto
      • PdfIssueReportInDto
      • ProjectOutDto
      • ProjectDtoBase
      • ProjectCreateInDto
      • EditableProjectBase
      • ProjectUpdateInDto
      • SiteOutDto
      • DocumentationOutDto
      • changelogOutDto
      • DirsBatchInDto
      • DirsBatchOutDto
      • ExportToDocumentationDto
      • LinkedDocumentationOutDto
      • ReorderSectionInDto
      • ReorderChecklistItemInDto
      • UploadStatus
      • ProtocolSectionOutDto
      • ImageExtension
      • AutoCreatedDto
      • IssueHSSpecificData
      • ComplianceAnswerOptionLabel
      • IssueExtendedInDto
      • ProtocolSectionInDto
      • FinalCost
      • ChecklistAnswer
      • EstimatedCost
      • ChecklistSectionInDto
      • LegacyProtocolItemResult
      • IssuePrimaryDataInDto
      • AnswerType
      • EstimatedCostArray
      • ComplianceAnswerOption
      • MapPositionCoordinate
      • ComplianceCheckInDto
      • AreaDto
      • ComplianceCheckOutDto
      • ApprovalType
      • WorkflowDecisionOutDto
      • WorkflowDecisionInDto
      • WorkflowStageIcon
      • DescriptionPartInDto
      • WorkflowStageApproverOutDto
      • WorkflowStageApproverInDto
      • WorkflowStageUpdateInDto
      • TextDescriptionPartIn
      • WorkflowStageOutDto
      • MentionDescriptionPartIn
      • IssueWorkflowOutDto
      • DescriptionPartOutDto
      • IssueWorkflowCreateInDto
      • TextDescriptionPartOut
      • IssueWorkflowUpdateInDto
      • MentionDescriptionPartOut
      • WorkflowStageCreateInDto
      • ValidationErrorResponse
      • WorkflowStageReorderInDto
      • SignedRequest
      • ObjectIdString
      • AddressInDto
      • ErrorResponse
      • LocaleCode
      • Alpha-3-Code
      • Email
      • NumericUnit
      • NonRequiredShortString
      • IssueReportSelectedField
      • ChecklistAnswerBaseRequest
      • RequiredShortString
      • ChecklistSectionOutDto
      • BaseReportCreateRequest
      • ComplianceChecklistAnswerRequest
      • NonRequiredMediumString
      • IssueReportCreateRequest
      • NumericChecklistAnswerRequest
      • RequiredMediumString
      • IssueListReportCreateRequest
      • TextChecklistAnswerRequest
      • City
      • InspectionReportCreateRequest
      • OptionSelectionChecklistAnswerRequest
      • NonRequiredLargeString
      • ComplianceChecklistAnswerUpdateRequest
      • NonRequiredVeryLargeString
      • ReportType
      • OptionSelectionChecklistAnswerUpdateRequest
      • Phone
      • ChecklistAnswerCreateRequest
      • CompanyInDto
      • UserAccessOutDto
      • ChecklistAnswerUpdateRequest
      • CompanyOutDto
      • OutgoingEmailAccessOutDto
      • ChecklistAnswerOutDto
      • ContractPartyInDto
      • ReportFilePartOutDto
      • ChecklistAnswerBaseOutDto
      • ContractualTime
      • ReportSinglePartDataOutDto
      • ComplianceChecklistAnswerOutDto
      • ContractInDto
      • ReportMultiPartDataOutDto
      • NumericChecklistAnswerOutDto
      • ContractOutDto
      • ReportFilePartDataOutDto
      • TextChecklistAnswerOutDto
      • DirInDto
      • ReportOutDto
      • OptionSelectionChecklistAnswerOutDto
      • DirOutDto
      • ExpressValidatorError
      • DocumentationCreateInDto
      • ErrorResponseBody
      • SelectionOptionInDto
      • DocumentationUpdateInDto
      • ErrorEnvelope
      • SelectionOption
      • DocumentationVersionInDto
      • DocumentationVersionOutDto
      • PresignedPostOutDto
      • SignedRequestOutDto
      • DocumentationSignedRequestOutDto
      • DocumentationPresignedPostOutDto
      • DocumentationUploadConfirmationInDto
      • Date
      • IdWithLabel
      • IdWithoutLabel
      • IdWithoutLabelArray
      • UserOnProjectOutDto
      • UserRoleTopLevel
      • UserRoleOnClient
      • UserRoleOnProject
      • ProcessId
      • AccessLevel
      • AccessInDto
      • AccessOutDto
      • LevelInDto
      • LevelOutDto
      • SiteInDto
      • MapOutDto
      • DocumentInDto
      • Document
      • NormInDto
      • ResolvedDetectedOutDto
      • NormOutDto
      • ChecklistItemInDto
      • ChecklistItemOutDto
      • RemovedChecklistItemOutDto
      • ObjectId
      • ObjectIdArray
      • S3VersionId
      • BasicDto
      • ProjectOutDto
      • ClientOutDto
      • LogoOnClientOutDto
      • LogoOnProjectOutDto
      • LogoCreateInDto
      • LogoUpdateInDto
      • LogoOnClientPresignedPostOutDto
      • LogoOnProjectPresignedPostOutDto
      • GetLogoOnClientOutDto
      • GetLogoOnProjectOutDto
      • FooterColumnType
      • FooterColumnTextLine
      • FooterTextColumnDto
      • FooterColumnsDto
      • FooterLogoColumnDto
      • FooterColumnDto
      • BasePdfFooter
      • PdfFooterOutDto
      • PdfFooterCreateInDto
      • PdfFooterUpdateInDto
      • GetPdfFooterOutDto
      • VisibleFieldOutDto
      • GetVisibleFieldOutDto
      • VisibleFieldInDto
      • VisibleFieldsUpsertInDto
      • BrandingOutDto
      • ClientCreateInDto
      • ClientUpdateInDto
      • BaseEditableClient
      • ProjectBase
      • BaseClient
      • AssetOutDto
      • DeletableBasicDto
      • TemplateInDto
      • TemplateOutDto
      • ProtocolItemInDto
      • ProtocolItemOutDto
      • InspectionInDto
      • InspectionOutDto
      • UserMeLabelInDto
      • UserMeLabelOutDto
      • UserCreateInDto
      • UserPermissionUpdateInDto
      • UserWithoutPermissionUpdateInDto
      • UserOutDto
      • UserMeOutDto
      • UserMeProjectPermissionOutDto
      • UserPermissionInDto
      • UserPermissionOutDto
      • BaseIssueReportInDto
      • PdfInspectionReportInDto
      • BaseReportInDto
      • PdfImageContent
      • PdfFieldsContent
      • PdfSelectedFields
      • ReceiverInDto
      • IdsReportInDto
      • AverageResolutionTimePerProcess
      • IssueInDto
      • FileData
      • DocumentOutDto
      • Text
      • Mention
      • DescriptionWithMentions
      • EventOutDto
      • IssueOutDto
      • PaginatedOutDto
      • AreaArrayDto
      • PositionOnMapDto
      • FinalCostArray
      • IssueEnvSpecificData
      • FileName
  1. Schemas

IssueInDto

{
    "process": "PROCESS_QA",
    "stage": "DRAFT",
    "stageId": "string",
    "primaryData": {
        "assignee": "5f479169f7ef7fe33b3cca36",
        "contractNumbers": [
            "5e417e81cc65ea28d1ff0fac",
            "6396dfeca92a10590a6ada9b"
        ],
        "title": "string",
        "description": "string",
        "detectionDate": "2020-12-01T11:32:01+01:00",
        "executor": "5f479169f7ef7fe33b3cca36",
        "site": "5f479169f7ef7fe33b3cca36",
        "level": "5f479169f7ef7fe33b3cca36",
        "subcontractors": [
            "5e417e81cc65ea28d1ff0fac",
            "6396dfeca92a10590a6ada9b"
        ],
        "positionOnMap": {
            "x": 0,
            "y": 0
        },
        "targetAreas": [
            [
                {
                    "x": 0,
                    "y": 0
                },
                {
                    "x": 0,
                    "y": 0
                },
                {
                    "x": 0,
                    "y": 0
                }
            ]
        ],
        "finalAreas": [
            [
                {
                    "x": 0,
                    "y": 0
                },
                {
                    "x": 0,
                    "y": 0
                },
                {
                    "x": 0,
                    "y": 0
                }
            ]
        ],
        "selectedLocationType": "pin"
    },
    "extendedData": {
        "costCode": "string",
        "estimatedCost": [
            {
                "cost": 0,
                "coveredBy": "5f479169f7ef7fe33b3cca36"
            }
        ],
        "finalCost": [
            {
                "outstanding": 0,
                "settled": 0,
                "coveredBy": "5f479169f7ef7fe33b3cca36"
            }
        ],
        "finalCompletionDate": "2020-12-01T11:32:01+01:00",
        "targetCompletionDate": "2020-12-01T11:32:01+01:00",
        "impact": "5f479169f7ef7fe33b3cca36",
        "proposedCorrectiveAction": "5f479169f7ef7fe33b3cca36",
        "rootCauses": [
            "5e417e81cc65ea28d1ff0fac",
            "6396dfeca92a10590a6ada9b"
        ],
        "solutionMethod": "string",
        "solutionProposal": "string",
        "subcontractorRepresentative": "string",
        "workTypes": [
            "5e417e81cc65ea28d1ff0fac",
            "6396dfeca92a10590a6ada9b"
        ],
        "effect": "5f479169f7ef7fe33b3cca36",
        "daysOfInabilityToWork": 0,
        "personUnableToWork": "string",
        "circumstances": "5f479169f7ef7fe33b3cca36",
        "environmentalAspect": "5f479169f7ef7fe33b3cca36"
    },
    "inspection": "5f479169f7ef7fe33b3cca36",
    "protocolItem": "5f479169f7ef7fe33b3cca36",
    "mainImage": "5f479169f7ef7fe33b3cca36"
}
Built with