EN
Español
English
Português
    Devices/Sending a Message to a Device

    Request Details/Send a Message to a Device

    Verb:POST
    URL: {url}/device/{id}/message/{text}


    Parameters

    Parameters for this request:

    Field Description Guy Obligatory Possible values
    Id Represents the identifier of the device on which the action is to be executed. Whole Yes -
    text Message that you want to send to the device. Text Yes Hello World!


    Answer

    • Code: 200 – Successful Answer:True
    • Code: 400 - Bad request Answer: Error Description Message
    • Code: 500 - Internal Error Server Answer: Error Description Message

    • BadRequest If the device ID is not greater than 1. If the message is empty or not sent.
    • ValidationError If one of the required values is not sent