Untitled

 avatar
unknown
plain_text
2 years ago
4.3 kB
17
Indexable
```
***********************API CALLING START***********************⤵

Request: [GET] [200] https://dtacapp-api-test.dtac.co.th/card/v1/search?search_term=free&type=package&uid=813

Headers: nil

Parameters: nil

Response: {
  "data" : {
    "pagination" : {
      "next" : null,
      "per_page" : 5,
      "total" : 2,
      "current_page" : 1
    },
    "items" : [
      {
        "type" : "package",
        "options" : {
          "category_name" : null,
          "price" : {
            "regular_price" : "299.00",
            "include_tax" : "399.00",
            "offer_price" : "199.00"
          },
          "regular_coin" : null,
          "icons" : null,
          "partner_name" : null,
          "terms_conditions" : null,
          "description" : null,
          "short_description" : {
            "en" : "campaign 274 \/\/ Do X get Y \/\/ Sell Talk",
            "th" : "campaign 274 \/\/ Do X get Y \/\/ sell talk"
          },
          "offer_coin" : null,
          "partner_logo" : null
        },
        "badge_src" : {
          "small" : "https:\/\/online.test.dtac.co.th\/mobileweb\/resources\/esv\/cms\/packageImageLib\/TAG\/20180608_144143031_OCS_test-thai.png",
          "large" : "https:\/\/online.test.dtac.co.th\/mobileweb\/resources\/esv\/cms\/packageImageLib\/TAG\/20180608_144143031_OCS_test-thai.png"
        },
        "id" : "21500851",
        "link" : {
          "type" : "in_app",
          "title" : "Package",
          "button_title" : "Get",
          "managed_backstack" : true,
          "url" : "dtacapp:\/\/app.dtac.co.th\/packages\/xlPeN\/20150704966\/21500851?open=y"
        },
        "benefits" : [
          {
            "type" : "data",
            "quota" : "10",
            "description" : "GB",
            "icon" : "https:\/\/online.test.dtac.co.th\/mobileweb\/resources\/EServiceMobile\/Icon\/ico-net.png"
          }
        ],
        "validity" : {
          "unit" : "days",
          "duration" : "7"
        },
        "image" : {
          "small" : "https:\/\/online.test.dtac.co.th\/mobileweb\/resources\/esv\/cms\/packageImageLib\/BANNER\/20180608_150620703_OCS_banner-th.png",
          "large" : "https:\/\/online.test.dtac.co.th\/mobileweb\/resources\/esv\/cms\/packageImageLib\/BANNER\/20180608_150620703_OCS_banner-th.png"
        },
        "summary" : "campaign 274 \/\/ Do X get Y \/\/ Sell Talk",
        "title" : "2150085 internet booster 10GB 7D free Free Fire game"
      },
      {
        "type" : "package",
        "options" : {
          "category_name" : null,
          "offer_coin" : null,
          "price" : {
            "offer_price" : "99.00",
            "regular_price" : null,
            "include_tax" : null
          },
          "partner_logo" : null,
          "regular_coin" : null,
          "partner_name" : null,
          "short_description" : null,
          "terms_conditions" : null,
          "icons" : null,
          "description" : null
        },
        "badge_src" : null,
        "id" : "21600008",
        "link" : {
          "type" : "in_app",
          "title" : "Package",
          "button_title" : "Get",
          "managed_backstack" : true,
          "url" : "dtacapp:\/\/app.dtac.co.th\/packages\/xlPeN\/20150704966\/21600008?open=y"
        },
        "benefits" : [
          {
            "type" : "net",
            "quota" : "1",
            "description" : "GB 21600008",
            "icon" : "https:\/\/online.test.dtac.co.th\/mobileweb\/resources\/EServiceMobile\/Icon\/ico-net.png"
          },
          {
            "type" : "voice",
            "quota" : "100",
            "description" : "minutes",
            "icon" : "https:\/\/online.test.dtac.co.th\/mobileweb\/resources\/EServiceMobile\/Icon\/ico-call.png"
          }
        ],
        "validity" : {
          "unit" : "days",
          "duration" : "7"
        },
        "image" : {
          "small" : null,
          "large" : null
        },
        "summary" : null,
        "title" : "21600008 Free calls 100 mins & Speed topping 1GB for 7d"
      }
    ]
  },
  "statusCode" : 200,
  "settings_hash" : "28b229c2c3071fcf4d4bc38cc33cda88_ios_99_29_1",
  "status" : "success",
}

************************API CALLING END************************⤴
```
Editor is loading...