Get list registered brandnames

This endpoint is ideal for getting the list of brandnames that registered at ViHAT.

HTTP request

GET https://rest.esms.vn/MainService.svc/json/GetListBrandname/{{ApiKey}}/{{SecretKey}}

  • Response Type: application/json

curl --location --globoff 'https://rest.esms.vn/MainService.svc/json/GetListBrandname/{{ApiKey}}/{{SecretKey}}'
  • Request body:

Parameter
Type
Required
Description

ApiKey

string

Your API key.

SecretKey

string

Your Secret key.


  • Response:

{
    "CodeResponse": "100",
    "ListBrandName": [
        {
            "Brandname": "Baotrixemay",
            "Type": 2
        },
        {
            "Brandname": "QC_ONLINE",
            "Type": 1
        },
        {
            "Brandname": "BAT DONG SAN GIA TOT",
            "Type": 23
        }
    ]
}

Valid request.

  • Response body:

Paramter
Type
Description

CodeResponse

string

Response code.

Brandname

string

Name of brandname.

Type

string

Type of brandname: 1: Advertising. 2: Customer care. 23: Viber.

Last updated