SBT

The Host

The host object is the same as here with the same methods (GET/POST/PATCH/DELETE) there are only 2 more properties linesAllowed and driverLine

Available lines

Obs.: Every line id starts with lowercase L

Sample request

Update a host

PATCH https://api.w3lcome.com/v1/host/:id

This is the same endpoint as Update a Host but with the 2 extra parameters.

Path Parameters

Headers

Request Body

{
    "id": "5d13bad4ae9c50948f6edd67a16d6936",
    "email": "alisson@w3lcome.com",
    "name": "Alisson Enz Rossi",
    "isActive": true,
    "pictureUrl": "",
    "position": "CTO",
    "sector": "IT",
    "phone": "(43) 9 9982-0420",
    "countryCode": "+55",
    "isPhoneValid": true,
    "company": "W3lcome",
    "type": "host",
    "message": "HOST UPDATED",
    "role": "manager",
    "linesAllowed": ["l01", "l04"],
    "driverLine": "l06"
}

Table of errors

Last updated