NATS5 REST API Skin GET colors

From TMM Wiki
Revision as of 16:22, 9 August 2019 by TMMJoe (talk | contribs) (TMMJoe moved page NATS4 REST API Skin GET colors to NATS5 REST API Skin GET colors: Renaming NATS5 API pages)
Jump to navigationJump to search
NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
SOAP API
API
API Best Practices
WSDL Cache
Add Affiliate
Add Member Note
Admin Get Adtools
Adtool Categories
Adtool Types
Affiliate Get Campaigns
Bulk Import Adtools
Caching
Decode Natscode
Expire Manual Member
Get Affiliate Campaigns
Get Affiliate Hit Data
Get Affiliate Loginids
Get Affiliate Nats Codes
Get Affiliate Payout
Get Affiliate Program Campaign List
Get_Affiliate_Program_Campaign_List
Get Member Details
Get Member Instant Upgrade String
Get Member Package Upgrade String
Get Member Token Rebuy String
Get Member Upsell String
Get Payment Data
Get Payvia Rule
Get Profit Loss Report
Ping
Record Member Login
Search Affiliate Info
Search Member Info
Send Email API Function
Set Affiliate Admin Settings
Set Affiliate Customs
Set Affiliate Defaults
Set Affiliate Information
Set Affiliate Settings
Set Member Details
Set Payment Status
Set Payvia Rule
REST API
API Overview
API Best Practices
REST API PATH UPDATES
Adtools
GET /adtools/admin
GET /adtools/categories
GET /adtools/types
POST /adtools/importdump
Affiliate
GET /affiliate/campaigns
GET /affiliate/hitdata
GET /affiliate/payout
GET /affiliate/searchinfo
POST /affiliate/addaffiliate
POST /affiliate/invoice
PATCH /affiliate/setadminsettings
PATCH /affiliate/setcustoms
PATCH /affiliate/setdefaults
PATCH /affiliate/setinformation
PATCH /affiliate/setpayviainfo
PATCH /affiliate/setsettings
PATCH /affiliate/status
Member
GET /member/authstring
GET /member/details
GET /member/searchinfo
GET /suggestedcanceloffers
PATCH /member/setdetails
PATCH /member/setexpiration
POST /member/addnote
POST /member/recordlogin
PUT /member/expiremanual
PATCH /member/forget
Option
GET /option/options
GET /option/rule
PATCH /option/rule
PATCH/option/text
POST /option/rule
Payments
GET /payments/getpayments
GET /payviarule
PATCH /payments/setstatus
PATCH /payviarule
Report
GET /profitlossreport
Get /transactionpayouts
GET /report/transaction
Service
GET /service/decodenatscode
GET /service/ping
POST /service/sendemail

GET /skin/colors

Description

  • Get color palette for skin

Resource URL

  • http://domain/api/skin/colors
  • Replace domain with the nats domain

Request Method

  • GET

Response Format

  • JSON

Authentication

  • HTTP headers

Parameters

Parameters can be sent as url encoded params

  • skinid
    • type: digit
    • required
  • advanced
    • type: boolean_digit
    • optional

Example Request

Method: GET
URL: http://domain/api/skin/colors
Query String: skinid=1000&advanced=1

Response:

{
    "success": true,
    "colors": {
        "Action": {
            "Action Message Error Background": {
                "skinid": "102",
                "css_name": "Action Message Error Background",
                "css_color": "FBE3E4",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_error_background"
            },
            "Action Message Error Border": {
                "skinid": "102",
                "css_name": "Action Message Error Border",
                "css_color": "FBC2C4",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_error_border"
            },
            "Action Message Error Text": {
                "skinid": "102",
                "css_name": "Action Message Error Text",
                "css_color": "8A1F11",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_error_text"
            },
            "Action Message Info Background": {
                "skinid": "102",
                "css_name": "Action Message Info Background",
                "css_color": "D5EDF8",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_info_background"
            },
            "Action Message Info Border": {
                "skinid": "102",
                "css_name": "Action Message Info Border",
                "css_color": "92CAE4",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_info_border"
            },
            "Action Message Info Text": {
                "skinid": "102",
                "css_name": "Action Message Info Text",
                "css_color": "205791",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_info_text"
            },
            "Action Message Notice Background": {
                "skinid": "102",
                "css_name": "Action Message Notice Background",
                "css_color": "FFF6BF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_notice_background"
            },
            "Action Message Notice Border": {
                "skinid": "102",
                "css_name": "Action Message Notice Border",
                "css_color": "FFD324",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_notice_border"
            },
            "Action Message Notice Text": {
                "skinid": "102",
                "css_name": "Action Message Notice Text",
                "css_color": "514721",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_notice_text"
            },
            "Action Message Success Background": {
                "skinid": "102",
                "css_name": "Action Message Success Background",
                "css_color": "E6EFC2",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_success_background"
            },
            "Action Message Success Border": {
                "skinid": "102",
                "css_name": "Action Message Success Border",
                "css_color": "C6D880",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_success_border"
            },
            "Action Message Success Text": {
                "skinid": "102",
                "css_name": "Action Message Success Text",
                "css_color": "264409",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "action_message_success_text"
            }
        },
        "Admin": {
            "Admin Links Background": {
                "skinid": "102",
                "css_name": "Admin Links Background",
                "css_color": "DDDDDD",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "admin_links_background"
            },
            "Admin Links Border": {
                "skinid": "102",
                "css_name": "Admin Links Border",
                "css_color": "444444",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "admin_links_border"
            },
            "Admin Links Hover Link": {
                "skinid": "102",
                "css_name": "Admin Links Hover Link",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "admin_links_hover_link"
            },
            "Admin Links Link": {
                "skinid": "102",
                "css_name": "Admin Links Link",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "admin_links_link"
            },
            "Admin Links Text": {
                "skinid": "102",
                "css_name": "Admin Links Text",
                "css_color": "1E2325",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "admin_links_text"
            }
        },
        "Body": {
            "Body Background": {
                "skinid": "102",
                "css_name": "Body Background",
                "css_color": "E6E6E6",
                "css_primary": "8",
                "css_setting": "0",
                "css_var": "body_background"
            },
            "Body Sub Text": {
                "skinid": "102",
                "css_name": "Body Sub Text",
                "css_color": "999999",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "body_sub_text"
            },
            "Body Text": {
                "skinid": "102",
                "css_name": "Body Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "body_text"
            }
        },
        "Button": {
            "Button Background": {
                "skinid": "102",
                "css_name": "Button Background",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "button_background"
            },
            "Button Hover Text": {
                "skinid": "102",
                "css_name": "Button Hover Text",
                "css_color": "FFFF87",
                "css_primary": "5",
                "css_setting": "0",
                "css_var": "button_hover_text"
            },
            "Button Text": {
                "skinid": "102",
                "css_name": "Button Text",
                "css_color": "E6E6E6",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "button_text"
            }
        },
        "Calendar": {
            "Calendar Background": {
                "skinid": "102",
                "css_name": "Calendar Background",
                "css_color": "DDDDDD",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "calendar_background"
            },
            "Calendar Day Text": {
                "skinid": "102",
                "css_name": "Calendar Day Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "calendar_day_text"
            },
            "Calendar Header Background": {
                "skinid": "102",
                "css_name": "Calendar Header Background",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "calendar_header_background"
            },
            "Calendar Header Text": {
                "skinid": "102",
                "css_name": "Calendar Header Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "calendar_header_text"
            },
            "Calendar Today Background": {
                "skinid": "102",
                "css_name": "Calendar Today Background",
                "css_color": "FFFFC4",
                "css_primary": "6",
                "css_setting": "0",
                "css_var": "calendar_today_background"
            },
            "Calendar Today Border": {
                "skinid": "102",
                "css_name": "Calendar Today Border",
                "css_color": "A1A145",
                "css_primary": "7",
                "css_setting": "0",
                "css_var": "calendar_today_border"
            },
            "Calendar Today Text": {
                "skinid": "102",
                "css_name": "Calendar Today Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "calendar_today_text"
            },
            "Calendar Year Text": {
                "skinid": "102",
                "css_name": "Calendar Year Text",
                "css_color": "999999",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "calendar_year_text"
            }
        },
        "Chart": {
            "Chart alternateHGridColor": {
                "skinid": "102",
                "css_name": "Chart alternateHGridColor",
                "css_color": "C4C4C4",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_alternatehgridcolor"
            },
            "Chart baseFontColor": {
                "skinid": "102",
                "css_name": "Chart baseFontColor",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_basefontcolor"
            },
            "Chart bgColor": {
                "skinid": "102",
                "css_name": "Chart bgColor",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "chart_bgcolor"
            },
            "Chart canvasBgColor": {
                "skinid": "102",
                "css_name": "Chart canvasBgColor",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "chart_canvasbgcolor"
            },
            "Chart divLineColor": {
                "skinid": "102",
                "css_name": "Chart divLineColor",
                "css_color": "808080",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_divlinecolor"
            },
            "Chart Field Color 1": {
                "skinid": "102",
                "css_name": "Chart Field Color 1",
                "css_color": "8B0000",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_1"
            },
            "Chart Field Color 10": {
                "skinid": "102",
                "css_name": "Chart Field Color 10",
                "css_color": "BBA93A",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_10"
            },
            "Chart Field Color 11": {
                "skinid": "102",
                "css_name": "Chart Field Color 11",
                "css_color": "5A0000",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_11"
            },
            "Chart Field Color 12": {
                "skinid": "102",
                "css_name": "Chart Field Color 12",
                "css_color": "5A2906",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_12"
            },
            "Chart Field Color 13": {
                "skinid": "102",
                "css_name": "Chart Field Color 13",
                "css_color": "A0B57D",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_13"
            },
            "Chart Field Color 14": {
                "skinid": "102",
                "css_name": "Chart Field Color 14",
                "css_color": "0F3333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_14"
            },
            "Chart Field Color 15": {
                "skinid": "102",
                "css_name": "Chart Field Color 15",
                "css_color": "A38C07",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_15"
            },
            "Chart Field Color 16": {
                "skinid": "102",
                "css_name": "Chart Field Color 16",
                "css_color": "C53131",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_16"
            },
            "Chart Field Color 17": {
                "skinid": "102",
                "css_name": "Chart Field Color 17",
                "css_color": "C57A45",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_17"
            },
            "Chart Field Color 18": {
                "skinid": "102",
                "css_name": "Chart Field Color 18",
                "css_color": "99B569",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_18"
            },
            "Chart Field Color 2": {
                "skinid": "102",
                "css_name": "Chart Field Color 2",
                "css_color": "8B4513",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_2"
            },
            "Chart Field Color 3": {
                "skinid": "102",
                "css_name": "Chart Field Color 3",
                "css_color": "556B2F",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_3"
            },
            "Chart Field Color 4": {
                "skinid": "102",
                "css_name": "Chart Field Color 4",
                "css_color": "2F4F4F",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_4"
            },
            "Chart Field Color 5": {
                "skinid": "102",
                "css_name": "Chart Field Color 5",
                "css_color": "FAD914",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_5"
            },
            "Chart Field Color 6": {
                "skinid": "102",
                "css_name": "Chart Field Color 6",
                "css_color": "FF62B0",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_6"
            },
            "Chart Field Color 7": {
                "skinid": "102",
                "css_name": "Chart Field Color 7",
                "css_color": "9A03FE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_7"
            },
            "Chart Field Color 8": {
                "skinid": "102",
                "css_name": "Chart Field Color 8",
                "css_color": "62D0FF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_8"
            },
            "Chart Field Color 9": {
                "skinid": "102",
                "css_name": "Chart Field Color 9",
                "css_color": "48FB0D",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_field_color_9"
            },
            "Chart legendBgColor": {
                "skinid": "102",
                "css_name": "Chart legendBgColor",
                "css_color": "EFEFEF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "chart_legendbgcolor"
            }
        },
        "Content": {
            "Content Area Hover": {
                "skinid": "102",
                "css_name": "Content Area Hover",
                "css_color": "F7F7F7",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_area_hover"
            },
            "Content Background": {
                "skinid": "102",
                "css_name": "Content Background",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "content_background"
            },
            "Content Breakdown Button Background": {
                "skinid": "102",
                "css_name": "Content Breakdown Button Background",
                "css_color": "DDDDDD",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_breakdown_button_background"
            },
            "Content Breakdown Button Text": {
                "skinid": "102",
                "css_name": "Content Breakdown Button Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_breakdown_button_text"
            },
            "Content Breakdown Hover": {
                "skinid": "102",
                "css_name": "Content Breakdown Hover",
                "css_color": "373E41",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_breakdown_hover"
            },
            "Content Breakdown Hover Text": {
                "skinid": "102",
                "css_name": "Content Breakdown Hover Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_breakdown_hover_text"
            },
            "Content Breakdown Link Hover": {
                "skinid": "102",
                "css_name": "Content Breakdown Link Hover",
                "css_color": "FFFF87",
                "css_primary": "5",
                "css_setting": "0",
                "css_var": "content_breakdown_link_hover"
            },
            "Content Disabled Background": {
                "skinid": "102",
                "css_name": "Content Disabled Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_disabled_background"
            },
            "Content Disabled Button Text": {
                "skinid": "102",
                "css_name": "Content Disabled Button Text",
                "css_color": "BBBBBB",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_disabled_button_text"
            },
            "Content Disabled Text": {
                "skinid": "102",
                "css_name": "Content Disabled Text",
                "css_color": "CCCCCC",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_disabled_text"
            },
            "Content Drop Shadow": {
                "skinid": "102",
                "css_name": "Content Drop Shadow",
                "css_color": "888888",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_drop_shadow"
            },
            "Content Header Background": {
                "skinid": "102",
                "css_name": "Content Header Background",
                "css_color": "23282A",
                "css_primary": "9",
                "css_setting": "0",
                "css_var": "content_header_background"
            },
            "Content Header Button": {
                "skinid": "102",
                "css_name": "Content Header Button",
                "css_color": "444444",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_header_button"
            },
            "Content Header Button Hover": {
                "skinid": "102",
                "css_name": "Content Header Button Hover",
                "css_color": "222222",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_header_button_hover"
            },
            "Content Header Button Text": {
                "skinid": "102",
                "css_name": "Content Header Button Text",
                "css_color": "B3B6B6",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_header_button_text"
            },
            "Content Header Text": {
                "skinid": "102",
                "css_name": "Content Header Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_header_text"
            },
            "Content Inner Box Background": {
                "skinid": "102",
                "css_name": "Content Inner Box Background",
                "css_color": "F7F7F7",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_inner_box_background"
            },
            "Content Inner Box Border": {
                "skinid": "102",
                "css_name": "Content Inner Box Border",
                "css_color": "23282A",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_inner_box_border"
            },
            "Content Inner Box Text": {
                "skinid": "102",
                "css_name": "Content Inner Box Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_inner_box_text"
            },
            "Content Input Box Background": {
                "skinid": "102",
                "css_name": "Content Input Box Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_input_box_background"
            },
            "Content Input Box Border": {
                "skinid": "102",
                "css_name": "Content Input Box Border",
                "css_color": "BBBBBB",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_input_box_border"
            },
            "Content Input Box Text": {
                "skinid": "102",
                "css_name": "Content Input Box Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_input_box_text"
            },
            "Content Link": {
                "skinid": "102",
                "css_name": "Content Link",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "content_link"
            },
            "Content Link Hover": {
                "skinid": "102",
                "css_name": "Content Link Hover",
                "css_color": "124259",
                "css_primary": "4",
                "css_setting": "0",
                "css_var": "content_link_hover"
            },
            "Content List Bullet Active": {
                "skinid": "102",
                "css_name": "Content List Bullet Active",
                "css_color": "124259",
                "css_primary": "4",
                "css_setting": "0",
                "css_var": "content_list_bullet_active"
            },
            "Content List Bullet Disabled": {
                "skinid": "102",
                "css_name": "Content List Bullet Disabled",
                "css_color": "E6E6E6",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_list_bullet_disabled"
            },
            "Content Navigation Hover Background": {
                "skinid": "102",
                "css_name": "Content Navigation Hover Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_navigation_hover_background"
            },
            "Content Navigation Selected": {
                "skinid": "102",
                "css_name": "Content Navigation Selected",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "content_navigation_selected"
            },
            "Content Option Border": {
                "skinid": "102",
                "css_name": "Content Option Border",
                "css_color": "D1D1D1",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_option_border"
            },
            "Content Option Hover": {
                "skinid": "102",
                "css_name": "Content Option Hover",
                "css_color": "373E41",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_option_hover"
            },
            "Content Option Hover Text": {
                "skinid": "102",
                "css_name": "Content Option Hover Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_option_hover_text"
            },
            "Content Option Link Hover": {
                "skinid": "102",
                "css_name": "Content Option Link Hover",
                "css_color": "FFFF87",
                "css_primary": "5",
                "css_setting": "0",
                "css_var": "content_option_link_hover"
            },
            "Content Option Mouseover": {
                "skinid": "102",
                "css_name": "Content Option Mouseover",
                "css_color": "DDDDDD",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_option_mouseover"
            },
            "Content Option Selected Border": {
                "skinid": "102",
                "css_name": "Content Option Selected Border",
                "css_color": "666666",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_option_selected_border"
            },
            "Content Remove Button Background": {
                "skinid": "102",
                "css_name": "Content Remove Button Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_remove_button_background"
            },
            "Content Remove Button Border": {
                "skinid": "102",
                "css_name": "Content Remove Button Border",
                "css_color": "AAAAAA",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_remove_button_border"
            },
            "Content Remove Button Hover Background": {
                "skinid": "102",
                "css_name": "Content Remove Button Hover Background",
                "css_color": "CCCCCC",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_remove_button_hover_background"
            },
            "Content Remove Button Text": {
                "skinid": "102",
                "css_name": "Content Remove Button Text",
                "css_color": "444444",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_remove_button_text"
            },
            "Content Section Header Background": {
                "skinid": "102",
                "css_name": "Content Section Header Background",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "content_section_header_background"
            },
            "Content Section Header Text": {
                "skinid": "102",
                "css_name": "Content Section Header Text",
                "css_color": "F7F7F7",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_section_header_text"
            },
            "Content Separator and Border": {
                "skinid": "102",
                "css_name": "Content Separator and Border",
                "css_color": "D1D1D1",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_separator_and_border"
            },
            "Content Sub Text": {
                "skinid": "102",
                "css_name": "Content Sub Text",
                "css_color": "999999",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_sub_text"
            },
            "Content Text": {
                "skinid": "102",
                "css_name": "Content Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "content_text"
            }
        },
        "Form": {
            "Form Field Background": {
                "skinid": "102",
                "css_name": "Form Field Background",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "form_field_background"
            },
            "Form Field Border": {
                "skinid": "102",
                "css_name": "Form Field Border",
                "css_color": "C7C7C7",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "form_field_border"
            },
            "Form Field Error Background": {
                "skinid": "102",
                "css_name": "Form Field Error Background",
                "css_color": "FFC9CF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "form_field_error_background"
            },
            "Form Field Error Border": {
                "skinid": "102",
                "css_name": "Form Field Error Border",
                "css_color": "F06365",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "form_field_error_border"
            },
            "Form Field Text": {
                "skinid": "102",
                "css_name": "Form Field Text",
                "css_color": "666666",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "form_field_text"
            }
        },
        "Header": {
            "Header Avatar Border": {
                "skinid": "102",
                "css_name": "Header Avatar Border",
                "css_color": "666666",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "header_avatar_border"
            },
            "Header Background": {
                "skinid": "102",
                "css_name": "Header Background",
                "css_color": "222222",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "header_background"
            },
            "Header Button Background": {
                "skinid": "102",
                "css_name": "Header Button Background",
                "css_color": "373E41",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "header_button_background"
            },
            "Header Button Hover Background": {
                "skinid": "102",
                "css_name": "Header Button Hover Background",
                "css_color": "DDDDDD",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "header_button_hover_background"
            },
            "Header Button Hover Text": {
                "skinid": "102",
                "css_name": "Header Button Hover Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "header_button_hover_text"
            },
            "Header Button Text": {
                "skinid": "102",
                "css_name": "Header Button Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "header_button_text"
            },
            "Header Help Button Text": {
                "skinid": "102",
                "css_name": "Header Help Button Text",
                "css_color": "FFFF87",
                "css_primary": "5",
                "css_setting": "0",
                "css_var": "header_help_button_text"
            },
            "Header Link": {
                "skinid": "102",
                "css_name": "Header Link",
                "css_color": "FFFF87",
                "css_primary": "5",
                "css_setting": "0",
                "css_var": "header_link"
            },
            "Header Text": {
                "skinid": "102",
                "css_name": "Header Text",
                "css_color": "CCCCCC",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "header_text"
            }
        },
        "Map": {
            "Map BgColor": {
                "skinid": "102",
                "css_name": "Map BgColor",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "map_bgcolor"
            },
            "Map BorderColor": {
                "skinid": "102",
                "css_name": "Map BorderColor",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "map_bordercolor"
            },
            "Map CanvasBorderColor": {
                "skinid": "102",
                "css_name": "Map CanvasBorderColor",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "map_canvasbordercolor"
            },
            "Map Fill Color 1": {
                "skinid": "102",
                "css_name": "Map Fill Color 1",
                "css_color": "FFF6BF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "map_fill_color_1"
            },
            "Map Fill Color 2": {
                "skinid": "102",
                "css_name": "Map Fill Color 2",
                "css_color": "DCD39F",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "map_fill_color_2"
            },
            "Map Fill Color 3": {
                "skinid": "102",
                "css_name": "Map Fill Color 3",
                "css_color": "B9B07F",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "map_fill_color_3"
            },
            "Map Fill Color 4": {
                "skinid": "102",
                "css_name": "Map Fill Color 4",
                "css_color": "968D60",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "map_fill_color_4"
            },
            "Map Fill Color 5": {
                "skinid": "102",
                "css_name": "Map Fill Color 5",
                "css_color": "736A40",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "map_fill_color_5"
            },
            "Map FillColor": {
                "skinid": "102",
                "css_name": "Map FillColor",
                "css_color": "E6E6E6",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "map_fillcolor"
            },
            "Map HoverColor": {
                "skinid": "102",
                "css_name": "Map HoverColor",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "map_hovercolor"
            }
        },
        "Navigation": {
            "Navigation Background": {
                "skinid": "102",
                "css_name": "Navigation Background",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "navigation_background"
            },
            "Navigation Drop Down Border": {
                "skinid": "102",
                "css_name": "Navigation Drop Down Border",
                "css_color": "1B6589",
                "css_primary": "3",
                "css_setting": "0",
                "css_var": "navigation_drop_down_border"
            },
            "Navigation Drop Down Text": {
                "skinid": "102",
                "css_name": "Navigation Drop Down Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "navigation_drop_down_text"
            },
            "Navigation Hover Sub Text": {
                "skinid": "102",
                "css_name": "Navigation Hover Sub Text",
                "css_color": "82BEDA",
                "css_primary": "2",
                "css_setting": "0",
                "css_var": "navigation_hover_sub_text"
            },
            "Navigation Hover Text": {
                "skinid": "102",
                "css_name": "Navigation Hover Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "navigation_hover_text"
            },
            "Navigation Sub Text": {
                "skinid": "102",
                "css_name": "Navigation Sub Text",
                "css_color": "82BEDA",
                "css_primary": "2",
                "css_setting": "0",
                "css_var": "navigation_sub_text"
            },
            "Navigation Text": {
                "skinid": "102",
                "css_name": "Navigation Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "navigation_text"
            }
        },
        "Pagination": {
            "Pagination Background": {
                "skinid": "102",
                "css_name": "Pagination Background",
                "css_color": "F7F7F7",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_background"
            },
            "Pagination Border": {
                "skinid": "102",
                "css_name": "Pagination Border",
                "css_color": "888888",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_border"
            },
            "Pagination Current Page Background": {
                "skinid": "102",
                "css_name": "Pagination Current Page Background",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "pagination_current_page_background"
            },
            "Pagination Current Page Border": {
                "skinid": "102",
                "css_name": "Pagination Current Page Border",
                "css_color": "124259",
                "css_primary": "4",
                "css_setting": "0",
                "css_var": "pagination_current_page_border"
            },
            "Pagination Current Page Text": {
                "skinid": "102",
                "css_name": "Pagination Current Page Text",
                "css_color": "FFFEFE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_current_page_text"
            },
            "Pagination Hover Background": {
                "skinid": "102",
                "css_name": "Pagination Hover Background",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "pagination_hover_background"
            },
            "Pagination Hover Text": {
                "skinid": "102",
                "css_name": "Pagination Hover Text",
                "css_color": "FFFEFE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_hover_text"
            },
            "Pagination Inactive Background": {
                "skinid": "102",
                "css_name": "Pagination Inactive Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_inactive_background"
            },
            "Pagination Inactive Border": {
                "skinid": "102",
                "css_name": "Pagination Inactive Border",
                "css_color": "DDDDDD",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_inactive_border"
            },
            "Pagination Inactive Text": {
                "skinid": "102",
                "css_name": "Pagination Inactive Text",
                "css_color": "DDDDDD",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_inactive_text"
            },
            "Pagination Text": {
                "skinid": "102",
                "css_name": "Pagination Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "pagination_text"
            }
        },
        "Prompt": {
            "Prompt Background": {
                "skinid": "102",
                "css_name": "Prompt Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_background"
            },
            "Prompt Border": {
                "skinid": "102",
                "css_name": "Prompt Border",
                "css_color": "BBBBBB",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_border"
            },
            "Prompt Button Background": {
                "skinid": "102",
                "css_name": "Prompt Button Background",
                "css_color": "0082BE",
                "css_primary": "1",
                "css_setting": "0",
                "css_var": "prompt_button_background"
            },
            "Prompt Button Hover Text": {
                "skinid": "102",
                "css_name": "Prompt Button Hover Text",
                "css_color": "FFFF87",
                "css_primary": "5",
                "css_setting": "0",
                "css_var": "prompt_button_hover_text"
            },
            "Prompt Button Text": {
                "skinid": "102",
                "css_name": "Prompt Button Text",
                "css_color": "E6E6E6",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_button_text"
            },
            "Prompt Close Text": {
                "skinid": "102",
                "css_name": "Prompt Close Text",
                "css_color": "BBBBBB",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_close_text"
            },
            "Prompt Container Background": {
                "skinid": "102",
                "css_name": "Prompt Container Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_container_background"
            },
            "Prompt Page Fade": {
                "skinid": "102",
                "css_name": "Prompt Page Fade",
                "css_color": "999999",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_page_fade"
            },
            "Prompt Text": {
                "skinid": "102",
                "css_name": "Prompt Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_text"
            },
            "Prompt Title Background": {
                "skinid": "102",
                "css_name": "Prompt Title Background",
                "css_color": "EEEEEE",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_title_background"
            },
            "Prompt Title Text": {
                "skinid": "102",
                "css_name": "Prompt Title Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "prompt_title_text"
            }
        },
        "Table": {
            "Table Background": {
                "skinid": "102",
                "css_name": "Table Background",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "table_background"
            },
            "Table Header Active Background": {
                "skinid": "102",
                "css_name": "Table Header Active Background",
                "css_color": "444444",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "table_header_active_background"
            },
            "Table Header Background": {
                "skinid": "102",
                "css_name": "Table Header Background",
                "css_color": "666666",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "table_header_background"
            },
            "Table Header Text": {
                "skinid": "102",
                "css_name": "Table Header Text",
                "css_color": "FFFFFF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "table_header_text"
            },
            "Table Row Alternating Background": {
                "skinid": "102",
                "css_name": "Table Row Alternating Background",
                "css_color": "FFFFFF",
                "css_primary": "10",
                "css_setting": "0",
                "css_var": "table_row_alternating_background"
            },
            "Table Row Highlight Background": {
                "skinid": "102",
                "css_name": "Table Row Highlight Background",
                "css_color": "FFFFC4",
                "css_primary": "6",
                "css_setting": "0",
                "css_var": "table_row_highlight_background"
            },
            "Table Row Hover Background": {
                "skinid": "102",
                "css_name": "Table Row Hover Background",
                "css_color": "F7F7F7",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "table_row_hover_background"
            },
            "Table Row Hover Border": {
                "skinid": "102",
                "css_name": "Table Row Hover Border",
                "css_color": "888888",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "table_row_hover_border"
            },
            "Table Row Light Highlight Background": {
                "skinid": "102",
                "css_name": "Table Row Light Highlight Background",
                "css_color": "FFFFEF",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "table_row_light_highlight_background"
            },
            "Table Row Section Separator": {
                "skinid": "102",
                "css_name": "Table Row Section Separator",
                "css_color": "BBBBBB",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "table_row_section_separator"
            }
        },
        "Tooltip": {
            "Tooltip Background": {
                "skinid": "102",
                "css_name": "Tooltip Background",
                "css_color": "FFFFC4",
                "css_primary": "6",
                "css_setting": "0",
                "css_var": "tooltip_background"
            },
            "Tooltip Border": {
                "skinid": "102",
                "css_name": "Tooltip Border",
                "css_color": "A1A145",
                "css_primary": "7",
                "css_setting": "0",
                "css_var": "tooltip_border"
            },
            "Tooltip Text": {
                "skinid": "102",
                "css_name": "Tooltip Text",
                "css_color": "333333",
                "css_primary": "0",
                "css_setting": "0",
                "css_var": "tooltip_text"
            }
        },
        "Text Decoration": {
            "Content Link Hover Underline": {
                "skinid": "102",
                "css_name": "Content Link Hover Underline",
                "css_color": "1",
                "css_primary": "0",
                "css_setting": "1",
                "css_var": "content_link_hover_underline"
            },
            "Navigation Drop Down Hover Underline": {
                "skinid": "102",
                "css_name": "Navigation Drop Down Hover Underline",
                "css_color": "0",
                "css_primary": "0",
                "css_setting": "1",
                "css_var": "navigation_drop_down_hover_underline"
            },
            "Navigation Hover Underline": {
                "skinid": "102",
                "css_name": "Navigation Hover Underline",
                "css_color": "1",
                "css_primary": "0",
                "css_setting": "1",
                "css_var": "navigation_hover_underline"
            }
        },
        "Images": {
            "Body Background Image": {
                "skinid": "102",
                "css_name": "Body Background Image",
                "css_color": "",
                "css_primary": "0",
                "css_setting": "2",
                "css_var": "body_background_image"
            },
            "Header Background Image": {
                "skinid": "102",
                "css_name": "Header Background Image",
                "css_color": "",
                "css_primary": "0",
                "css_setting": "2",
                "css_var": "header_background_image"
            },
            "Header Logo": {
                "skinid": "102",
                "css_name": "Header Logo",
                "css_color": "tmmNATS.png",
                "css_primary": "0",
                "css_setting": "2",
                "css_var": "header_logo"
            }
        },
        "Background Image Positions": {
            "Body Background Image Position": {
                "skinid": "102",
                "css_name": "Body Background Image Position",
                "css_color": "repeat",
                "css_primary": "0",
                "css_setting": "3",
                "css_var": "body_background_image_position"
            },
            "Header Background Image Position": {
                "skinid": "102",
                "css_name": "Header Background Image Position",
                "css_color": "repeat",
                "css_primary": "0",
                "css_setting": "3",
                "css_var": "header_background_image_position"
            }
        }
    },
    "images": [
        {
            "skinid": "102",
            "css_name": "Body Background Image",
            "css_color": "",
            "css_primary": "0",
            "css_setting": "2",
            "css_var": "body_background_image"
        },
        {
            "skinid": "102",
            "css_name": "Header Background Image",
            "css_color": "",
            "css_primary": "0",
            "css_setting": "2",
            "css_var": "header_background_image"
        },
        {
            "skinid": "102",
            "css_name": "Header Logo",
            "css_color": "tmmNATS.png",
            "css_primary": "0",
            "css_setting": "2",
            "css_var": "header_logo"
        }
    ]
}



Example Code

PHP

<?php

$headers = array( //set your username and API key here
	'api-key: 44b5498dbcb481a0d00b404c0169af62',
	'api-username: tmm1phrvezsbu'
);
$url = 'http://yourdomain.com'; //set your NATS URL here

$data = Array(
	'skinid' => '1000',
	'advanced' => 1,
);

$request = Array(
	'method' => 'GET',
	'path' => 'v1/skin/colors',
	'data' => $data
);

/*code below is the same for (almost) every API call */

$curl = curl_init();

$url = $url.'/api/'.$request['path'];

$query = http_build_query($request['data']);

if($request['method'] == 'GET'){
	//add query string parameters to the end of the url
	$url = $url.'?'.$query;
}else{
	//send parameters as POST fields
	curl_setopt($curl, CURLOPT_POST, 1);
	curl_setopt($curl, CURLOPT_POSTFIELDS, $query);
	
	if($request['method'] != 'POST'){
		$headers[] ='X-HTTP-Method: '.$request['method']; //send custom request method
	}
}
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);


$resp = curl_exec($curl);
//dumps an associative array representation of the json
var_dump(json_decode($resp, true));
// Close request to clear up some resources
curl_close($curl);
?>