Credit Term Option

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

    token : string, is required.

    type : string, is required.

    Request Headers

    {

        "Content-Type":"application/json"

    }

    Request Body

    {

       "token" : "B7ABD5DEEC6588997DE41B0FE0665",

       "type" : "credit_term"

    }

  2. Response JSON Format
    Successful Example

    {

        "status" : true,

        "data" : 

                 [

                     {

                          "id" : "1",

                          "ref_id" : "0B31CD0066F81E3C27674B1BB8BC7FB1",

                          "type" : "S",

                          "name" : "Net 30 days",

                          "days" : "30"

                     }

                 ]

    }

    Fail Example

    {

        "status" : false,

        "error" : "Token invalid. / No found data."

    }

  3. Remark Property
    Type

    Only Accept : S, U

     

    S = System,

    U =  User