Branch List

  1. Request Instruction
    HTTPS Method POST
    URL http://subdomain.supersuite.my/api/branch/list
    Content Type  application/json
    Response Type JSON
    Parameter Description

    token: string is required.

    Request Headers

    {

        "Content-Type":"application/json"

    }

    Request Body

    {

       "token" : "B7ABD5DEEC6588997DE41B0FE0665"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1", 

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "name" : "Branch 1",

                          "short_code" : "B0001,

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

        "error" : "Token invalid."

    }