Hustro API
  1. Checklist item
Hustro API
  • Analytics
    • Get average issue resolution time
      GET
    • Get detected and resolved issues statistics
      GET
  • Company
    • Get all companies from a project
      GET
    • Create company
      POST
    • Update company with specified id
      PUT
    • Remove company with specified id
      DELETE
    • Restore company with specified id
      GET
  • Compliance check document
    • Create new compliance check document
      POST
    • Edit compliance check document
      PUT
    • Remove compliance check document
      DELETE
  • Contract
    • Get all contracts from a project
      GET
    • Create contract on a project
      POST
    • Update contract with specified id
      PUT
    • Remove contract with specified id
      DELETE
    • Restore contract with specified id
      GET
  • Client
    • Get clients
      GET
    • Create Client
      POST
    • Update Client
      PUT
  • Checklist Item
    • Create Checklist Item
      POST
    • Update Checklist Item
      PUT
    • Delete Checklist Item
      DELETE
  • Checklist item
    • Create new checklist item
      POST
    • Edit checklist item
      PUT
    • Remove checklist item
      DELETE
  • Custom field values
    • Create
      • Create worktype
      • Create hazardCategory
      • Create environmentalAspect
      • Create correctiveActionType
    • translation
      • Create translation worktype
      • Create translation hazardCategry
      • Create translation environmentalAspect
      • Create translation correctiveActionType
    • visibleOnProcess
      • Create visibleOnProcess worktype
      • Create visibleOnProcess hazardCategory
      • Create visibleOnProcess environmentalAspect
      • Create visibleOnProcess correctiveActionType
    • Get worktypes
    • Get hazardCategories
    • Get environmentalAspect
    • Get correctiveActionType
  • Documentation
    • Create documentation
    • Get documentations
    • Update documentation
    • Delete documentation
    • Restore documentation
    • PUT documentation presigned post
    • PUT documentation uploadConfirmation
    • AWS documentation upload
  • Document
    • On 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 Protocol Item
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • Shared Document
      • Get shared document with event
      • Get shared document
  • Dir
    • 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
  • Level
    • Get levels
    • Create level
    • Edit level
    • Update levels
    • Delete level
    • Restore level
  • Logo - on client
    • GET logos
    • Create logo
    • 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
  • 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
    • Fill inspection protocol item
  • Process
    • 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
    • Create user
  • Visible field
    • GET visible fields
    • PUT upsert visible fields
  • Worktype
    • Get all worktypes from a project
  1. Checklist item

Create new checklist item

POST
https://app.hustro.com/api/v2/project/{projectId}/inspectionTemplate/{inspectionTemplateId}/checklistItem
OperationId:createChecklistItem
Create new checklist items in the inspection template with the "DRAFT" status, with the specified id.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢201Created
application/json
successful operation
Body

🟠409409
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://app.hustro.com/api/v2/project//inspectionTemplate//checklistItem' \
--header 'hustro-client: web' \
--header 'hustro-client-version: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "index": 0,
        "summary": "Nazwa elementu kontrolowanego",
        "norm": {
            "description": "Vicissitudo aptus corrigo validus cogito. Cimentarius repudiandae ceno subseco. Animi usus turpis vis vinco coerceo vulgaris correptius tactus acer. Demonstro damno veritas spargo timidus decor vacuus sapiente. Cohibeo addo creo. Creta arma bonus verto carmen cinis cunctatio currus."
        }
    },
    {
        "index": 1,
        "summary": "Nazwa elementu kontrolowanego",
        "norm": {
            "description": "Appono bis speciosus stabilis bis infit delectatio utrum aer absens. Vallum voluptatum suscipit stella comminor uredo absconditus cimentarius. Comparo vociferor numquam. Concedo turba non argumentum coaegresco strues. Bellicus vitium neque amplus facere totus cogo canonicus confero."
        }
    }
]'
Response Response Example
201 - Example 1
[
    {
        "norm": {
            "documents": [
                {
                    "data": {
                        "do uzupelnienia": "Do uzupełnienia, analogicznie jak dotychczas"
                    },
                    "deleted": true,
                    "_id": "5f479169f7ef7fe33b3cca36",
                    "createdAt": "2020-12-01T11:32:01+01:00",
                    "createdBy": "5f479169f7ef7fe33b3cca36",
                    "modifiedAt": "2020-12-01T11:32:01+01:00",
                    "modifiedBy": "5f479169f7ef7fe33b3cca36",
                    "title": "string",
                    "description": "string",
                    "fileName": "4.jpg",
                    "fileType": "image/jpeg"
                }
            ],
            "description": "string"
        },
        "deleted": true,
        "_id": "5f479169f7ef7fe33b3cca36",
        "createdAt": "2020-12-01T11:32:01+01:00",
        "createdBy": "5f479169f7ef7fe33b3cca36",
        "modifiedAt": "2020-12-01T11:32:01+01:00",
        "modifiedBy": "5f479169f7ef7fe33b3cca36"
    }
]
Previous
Delete Checklist Item
Next
Edit checklist item
Built with