HBSA Internal
  1. Assets
HBSA Internal
  • Hidrovias do Brasil APIs
  • Autenticação
    • Introdução
  • WebSockets
    • Introdução
    • Navigation
      • Admin Hub
      • Live Assets Hub
  • REST
    • Introdução
    • Navigation
      • AssetClasses
        • Lists all AssetClasses
        • Adds a new AssetClass
        • Finds a AssetClass by its identification
        • Partially updates a AssetClass
        • Deletes a AssetClass by its identification
      • Assets
        • List all assets
          GET
        • Create the primary data for an Asset
          POST
        • Finds a Certificates by its identification
          GET
        • Partially updates a Certificates
          PATCH
        • Deletes a Certificates by its identification
          DELETE
        • Lists all Checkpoints
          GET
        • Adds a new Checkpoint
          POST
        • Finds a Checkpoint by its identification
          GET
        • Deletes a Checkpoint by its identification
          DELETE
        • Partially updates a Checkpoint
          PATCH
        • Lists all DraftWeights
          GET
        • Adds a new DraftWeight
          POST
        • Deletes a DraftWeight by its identification
          DELETE
        • Lists all Fuels
          GET
        • Adds a new Fuel
          POST
        • Deletes a Fuel by its identification
          DELETE
        • Lists all AssetLocationss
          GET
        • Adds a new AssetLocations
          POST
        • Deletes a AssetLocations by its identification
          DELETE
        • Lists all Maintenance
          GET
        • Adds a new Maintenance
          POST
        • Finds a Maintenance by its identification
          GET
        • Partially updates a Maintenance
          PATCH
        • Deletes a Maintenance by its identification
          DELETE
        • Get the primary data of an Asset by Id
          GET
        • Partially updates a Primary Asset
          PATCH
        • Delete an asset by identification
          DELETE
        • Lists all Certificates
          GET
        • Adds a new Certificate
          POST
        • Get Asset Types
          GET
      • CertificateDepartaments
        • Lists all CertificateDepartaments
        • Adds a new CertificateDepartament
        • Finds a CertificateDepartament by its identification
        • Partially updates a CertificateDepartament
        • Deletes a CertificateDepartament by its identification
      • CertificateTypes
        • Lists all CertificateTypes
        • Adds a new CertificateType
        • Finds a CertificateType by its identification
        • Partially updates a CertificateType
        • Deletes a CertificateType by its identification
      • Clients
        • List all Clients
        • Get the primary data of an Client by Id
      • Contracts
        • List all Contract
        • Get the primary data of an Contract by Id
      • Crews
        • Lists all Crews
        • Adds a new Crew
        • Finds a Crew by its identification
        • Partially updates a Crew
        • Deletes a Crew by its identification
      • Embeddeds
        • Initialize embedded data sync
      • Employees
        • Lists all Employeess
        • Adds a new Employees
        • Finds a Employees by its identification
        • Partially updates a Employees
        • Deletes a Employees by its identification
      • Locations
        • Lists all locations
        • Adds a new location
        • Finds a location by its identification
        • Partially updates a location
        • Deletes a location by its identification
        • Get Location Types
      • ManeuverEvents
        • List all Maneuvers Events by filter
      • Maneuvers
        • List all Maneuvers by filter
        • Adds or updates a Maneuver
        • Get Maneuver Restrictions
        • Finds a maneuver by its identification
      • Onboards
        • Lists all Onboards
        • Adds a new Onboard
        • Finds a Onboard by its identification
        • Partially updates a Onboard
        • Deletes a Onboard by its identification
      • Products
        • Get the primary data of an Product by Id
      • Regions
        • Lists all Regions
      • Routes
        • Lists all Routes
        • Adds a new Route
        • Finds a Route by its identification
        • Partially updates a Route
        • Deletes a Route by its identification
        • Lists all RouteStretches
        • Adds a new stretche to a route
        • Adds a new list of stretche to a route
        • Deletes a RouteStretch by its identification
      • Stretches
        • Lists all Stretchs
        • Adds a new Stretch
        • Finds a Stretch by its identification
        • Partially updates a Stretch
        • Deletes a Stretch by its identification
        • Lists all StretchAttributes
        • Adds a new StretchAttribute
        • Finds a Stretch Attributes by its identification
        • Deletes a StretchAttribute by its identification
        • Partially updates a StretchAttribute
        • Partially updates a StretchAttribute
      • Tenants
        • List all assets
      • ThirdTravelCalendars
        • Lists all ThirdTravelCalendars
        • Adds a new ThirdTravelCalendar
        • Finds a ThirdTravelCalendar by its identification
        • Partially updates a ThirdTravelCalendar
        • Deletes a ThirdTravelCalendar by its identification
      • Thirds
        • Lists all Thirds
        • Adds a new Third
        • Finds a Third by its identification
        • Partially updates a Third
        • Deletes a Third by its identification
      • Travels
        • Lists all Travels
        • Adds a new Travel
        • Partially updates a Travel
        • Finds a Travel by its identification
        • Deletes a Travel by its identification
        • Lists all LoadUnloads
        • Adds a new LoadUnload
        • Finds a LoadUnload by its identification
        • Partially updates a LoadUnload
        • Deletes a LoadUnload by its identification
        • Lists all TravelStretches
        • Adds a new TravelStretch
        • Finds a TravelStretch by its identification
        • Partially updates a TravelStretch
        • Deletes a TravelStretch by its identification
        • Lists all TravelStretchAttributes
        • Adds a new TravelStretchAttributes
        • Finds a TravelStretchAttributes by its identification
        • Partially updates a TravelStretchAttributes
        • Deletes a TravelStretchAttributes by its identification
        • Lists all StretchPushers
        • Adds a new StretchPusher
        • Finds a StretchPusher by its identification
        • Partially updates a StretchPusher
        • Deletes a StretchPusher by its identification
        • Lists all PusherBarges
        • Adds a new PusherBarge
        • Finds a PusherBarge by its identification
        • Partially updates a PusherBarge
        • Deletes a PusherBarge by its identification
  • Esquemas
    • Esquema de dados de Exemplo
      • Pet
      • Category
      • Tag
    • Schemas
      • AssetClassDto
      • AssetDto
      • AssetDtoBooleanPagination
      • AssetLocationDto
      • AssetLocationDtoBooleanPagination
      • AssetTypeDto
      • Attribute
      • AuditableDto
      • CertificateDepartamentDto
      • CertificateDepartamentDtoBooleanPagination
      • CertificateDto
      • CertificateDtoBooleanPagination
      • CertificateTypeDto
      • CertificateTypeDtoBooleanPagination
      • CheckpointDto
      • CheckpointDtoBooleanPagination
      • ClientDto
      • ClientDtoBooleanPagination
      • ContractDto
      • ContractDtoBooleanPagination
      • CreateAssetClassRequest
      • CreateAssetClassResponse
      • CreateAssetLocationResponse
      • CreateAssetLocationsRequest
      • CreateAssetRequest
      • CreateAssetResponse
      • CreateCertificateDepartamentRequest
      • CreateCertificateDepartamentsResponse
      • CreateCertificateResponse
      • CreateCertificateTypeRequest
      • CreateCertificateTypeResponse
      • CreateCertificatesRequest
      • CreateCheckpointRequest
      • CreateCheckpointResponse
      • CreateCrewRequest
      • CreateCrewResponse
      • CreateDraftWeightRequest
      • CreateDraftWeightResponse
      • CreateEmployeesRequest
      • CreateEmployeesResponse
      • CreateFuelRequest
      • CreateFuelResponse
      • CreateLoadUnloadRequest
      • CreateLoadUnloadResponse
      • CreateLocationRequest
      • CreateMaintenanceRequest
      • CreateMaintenanceResponse
      • CreateOnboardRequest
      • CreateOnboardResponse
      • CreatePusherBargeRequest
      • CreatePusherBargeResponse
      • CreateRouteRequest
      • CreateRouteResponse
      • CreateRouteStretchListResponse
      • CreateRouteStretchRequest
      • CreateRouteStretchResponse
      • CreateStretchAttributeRequest
      • CreateStretchAttributeResponse
      • CreateStretchPusherRequest
      • CreateStretchPusherResponse
      • CreateStretchRequest
      • CreateStretchResponse
      • CreateThirdRequest
      • CreateThirdResponse
      • CreateThirdTravelCalendarRequest
      • CreateThirdTravelCalendarResponse
      • CreateTravelRequest
      • CreateTravelResponse
      • CreateTravelStretchAttributesRequest
      • CreateTravelStretchAttributesResponse
      • CreateTravelStretchReponse
      • CreateTravelStretchRequest
      • CrewDto
      • CrewDtoBooleanPagination
      • DraftWeightDto
      • DraftWeightDtoBooleanPagination
      • EAssetModel
      • EAssetType
      • ECheckpointStatusCode
      • ECleaningStatus
      • EDirectionType
      • EDocumentType
      • EEventCode
      • EFleetStatus
      • ELocationType
      • ELocationWaterWay
      • EMaintenanceType
      • EManeuverRestriction
      • EManeuverStatus
      • ENomination
      • EStretchAttributeStatus
      • EStretchStatus
      • ETravelStatus
      • EViewCargo
      • EmployeeDto
      • EmployeeDtoBooleanPagination
      • ErrorDetail
      • Fuel
      • FuelDto
      • FuelDtoBooleanPagination
      • GetAllTenantsQueryResponse
      • HttpError
      • IContractResolver
      • LoadUnloadDto
      • LoadUnloadDtoBooleanPagination
      • LocationCreatedResponse
      • LocationDto
      • LocationDtoBooleanPagination
      • LocationTypeDto
      • MaintenanceDto
      • MaintenanceDtoBooleanPagination
      • ManeuverBargeDto
      • ManeuverDto
      • ManeuverDtoBooleanPagination
      • ManeuverEventDto
      • ManeuverEventDtoBooleanPagination
      • ManeuverRestrictionDto
      • ManeuverRestrictionType
      • OnboardDto
      • OnboardDtoBooleanPagination
      • OperationType
      • PatchAssetClassRequestJsonPatchDocument
      • PatchAssetClassRequestOperation
      • PatchCertificateDepartamentRequestJsonPatchDocument
      • PatchCertificateDepartamentRequestOperation
      • PatchCertificateTypeRequestJsonPatchDocument
      • PatchCertificateTypeRequestOperation
      • PatchCertificatesRequestJsonPatchDocument
      • PatchCertificatesRequestOperation
      • PatchCheckpointRequestJsonPatchDocument
      • PatchCheckpointRequestOperation
      • PatchCrewRequestJsonPatchDocument
      • PatchCrewRequestOperation
      • PatchEmployeesRequestJsonPatchDocument
      • PatchEmployeesRequestOperation
      • PatchLoadUnloadRequestJsonPatchDocument
      • PatchLoadUnloadRequestOperation
      • PatchLocationRequestJsonPatchDocument
      • PatchLocationRequestOperation
      • PatchMaintenanceRequestJsonPatchDocument
      • PatchMaintenanceRequestOperation
      • PatchOnboardRequestJsonPatchDocument
      • PatchOnboardRequestOperation
      • PatchPrimaryAssetRequestJsonPatchDocument
      • PatchPrimaryAssetRequestOperation
      • PatchPusherBargeRequestJsonPatchDocument
      • PatchPusherBargeRequestOperation
      • PatchRouteRequestJsonPatchDocument
      • PatchRouteRequestOperation
      • PatchStretchAttributeRequestJsonPatchDocument
      • PatchStretchAttributeRequestOperation
      • PatchStretchPusherRequestJsonPatchDocument
      • PatchStretchPusherRequestOperation
      • PatchStretchRequestJsonPatchDocument
      • PatchStretchRequestOperation
      • PatchThirdRequestJsonPatchDocument
      • PatchThirdRequestOperation
      • PatchThirdTravelCalendarRequestJsonPatchDocument
      • PatchThirdTravelCalendarRequestOperation
      • PatchTravelRequestJsonPatchDocument
      • PatchTravelRequestOperation
      • PatchTravelStretchAttributeRequestJsonPatchDocument
      • PatchTravelStretchAttributeRequestOperation
      • PatchTravelStretchRequestJsonPatchDocument
      • PatchTravelStretchRequestOperation
      • PostManeuverRequest
      • PostManeuverResponse
      • ProductDto
      • PusherBargeDto
      • PusherBargeDtoBooleanPagination
      • RegionDto
      • RegionDtoBooleanPagination
      • ResponseRouteStretchDto
      • RouteDto
      • RouteDtoBooleanPagination
      • RouteStretchDto
      • StretchAttributeDto
      • StretchAttributeDtoBooleanPagination
      • StretchDto
      • StretchPusherDto
      • StretchPusherDtoBooleanPagination
      • ThirdDto
      • ThirdDtoBooleanPagination
      • ThirdTravelCalendarDto
      • ThirdTravelCalendarDtoBooleanPagination
      • TravelDto
      • TravelDtoBooleanPagination
      • TravelStretchAttributeDto
      • TravelStretchAttributeDtoBooleanPagination
      • TravelStretchDto
      • TravelStretchDtoBooleanPagination
      • TypeWithListAssetClassDto
  1. Assets

Partially updates a Certificates

Amb. de testes
https://apis.qa01.hbsa.com.br/navigation
Amb. de testes
https://apis.qa01.hbsa.com.br/navigation
PATCH
/v1/assets/{assetId}/certificates/{id}

Requisição

Parâmetros de Caminho

Parâmetros Header

Parâmetros Bodyapplication/json

Exemplo
[
    {
        "op": "replace",
        "path": "/Plant",
        "value": "ABC Plant"
    },
    {
        "op": "replace",
        "path": "/AssetId",
        "value": "f569175c-390f-455f-8d09-b5d99a683e88"
    },
    {
        "op": "replace",
        "path": "/CertificateTypeId",
        "value": "4af4f3ba-a122-49f4-baa3-46d5dba32cdd"
    },
    {
        "op": "replace",
        "path": "/Mandatory",
        "value": "true"
    },
    {
        "op": "replace",
        "path": "/EmissionDate",
        "value": "07/12/2024 14:21:24"
    },
    {
        "op": "replace",
        "path": "/ExpireDate",
        "value": "07/12/2025 14:21:24"
    }
]

Códigos de solicitação

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://apis.qa01.hbsa.com.br/navigation/v1/assets//certificates/' \
--header 'x-tenant;' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "op": "replace",
        "path": "/Plant",
        "value": "ABC Plant"
    },
    {
        "op": "replace",
        "path": "/AssetId",
        "value": "f569175c-390f-455f-8d09-b5d99a683e88"
    },
    {
        "op": "replace",
        "path": "/CertificateTypeId",
        "value": "4af4f3ba-a122-49f4-baa3-46d5dba32cdd"
    },
    {
        "op": "replace",
        "path": "/Mandatory",
        "value": "true"
    },
    {
        "op": "replace",
        "path": "/EmissionDate",
        "value": "07/12/2024 14:21:24"
    },
    {
        "op": "replace",
        "path": "/ExpireDate",
        "value": "07/12/2025 14:21:24"
    }
]'

Respostas

🟢204No Content
application/json
Body

Exemplo
{}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠422Client Error
Modificado em 2024-07-12 15:41:46
Página anterior
Finds a Certificates by its identification
Próxima página
Deletes a Certificates by its identification
Built with