EN
Español
English
Português
    Basic Scenarios

    The following describes the steps required to perform some of the operations most common.

    Sign in

    1. Call login service by sending the required parameters.
    2. Get the response from the service.
    3. Store data such as user ID and authorization token as they will be required for subsequent services.


    Renew Session

    1. Call the session renewal service by sending the authorization token that is stored.
    2. If the service’s response is successful, the token is still valid.
    3. If the service’s response is unsuccessful, it is necessary to obtain a new token according to what is indicated in the login scenario.


    Create a case

    1. Obtain an authentication token as indicated in the sign-in or renew session scenarios, as appropriate.
    2. Consume the authoring service by sending authentication header and request body with the corresponding data for the case as appropriate.
    3. To manage, as appropriate, the data obtained as a result of consumption of the service.


    Get Case Detail

    1. Obtain an authentication token as indicated in the sign-in or renew session scenarios, as appropriate.
    2. Consume service of obtaining case detail by sending the data corresponding to the case to be consulted.
    3. To manage, as appropriate, the response obtained from consuming the service.


    Update a case

    1. Obtain an authentication token as indicated in the sign-in or renew session scenarios, as appropriate.
    2. Consume the case editing service by sending authentication header and request body with the data to be edited.
    3. To manage, as appropriate, the data obtained as a result of consumption of the service.