Hustro API
  1. Level
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
    • Update Checklist Item
    • Delete Checklist Item
  • Checklist item
    • Create new checklist item
    • Edit checklist item
    • Remove checklist item
  • 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
      GET
    • Create level
      POST
    • Edit level
      PUT
    • Update levels
      PUT
    • Delete level
      DELETE
    • Restore level
      GET
  • 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. Level

Edit level

PUT
https://app.hustro.com/api/v2/project/{projectId}/level/{levelId}
OperationId:putLevel
Edit a level on a project.

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

🟢200OK
application/json
successful operation
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://app.hustro.com/api/v2/project//level/' \
--header 'hustro-client: web' \
--header 'hustro-client-version: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "index": 0,
    "label": "Poziom Parking podziemny",
    "site": "5f479169f7ef7fe33b3cca36"
}'
Response Response Example
{
    "maps": [
        "5f479169f7ef7fe33b3cca36"
    ],
    "index": 0,
    "label": "Poziom Parking podziemny",
    "site": "5f479169f7ef7fe33b3cca36",
    "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
Create level
Next
Update levels
Built with