NATS5 REST API Site GET tour

From TMM Wiki
Jump to: navigation, search
NATS 5
Members Section
Members Management
Adding a Member
View Member Details
Restricted Values

    Adtool
GET /adtool/admin
GET /adtool/adtools
GET /adtool/adtool
GET /adtool/adtool-rules
GET /adtool/adtool-rule
GET /adtool/categories
GET /adtool/field-options
GET /adtool/field-types
GET /adtool/groups
GET /adtool/search
GET /adtool/templates
GET /adtool/types
GET /adtool/type
POST /adtool/adtool
POST /adtool/adtool-rule
POST /adtool/category
POST /adtool/field
POST /adtool/field-option
POST /adtool/group
POST /adtool/import
POST /adtool/type
PATCH /adtool/adtool
PATCH /adtool/adtool-group
PATCH /adtool/adtool-rule
PATCH /adtool/category
PATCH /adtool/field
PATCH /adtool/field-option
PATCH /adtool/group
PATCH /adtool/move
PATCH /adtool/restore-adtool
PATCH /adtool/restore-category
PATCH /adtool/restore-field
PATCH /adtool/restore-field-option
PATCH /adtool/restore-type
PATCH /adtool/type
DELETE /adtool/adtool
DELETE /adtool/adtool-rule
DELETE /adtool/category
DELETE /adtool/field
DELETE /adtool/field-option
DELETE /adtool/group
DELETE /adtool/type
    Affiliate
DELETE /affiliate/account-rep
DELETE /affiliate/account-type
DELETE /affiliate/affiliate
DELETE /affiliate/doc
DELETE /affiliate/group
DELETE /affiliate/permissions
GET /affiliate/account-changes
GET /affiliate/account-types
GET /affiliate/admin-settings
GET /affiliate/campaigns
GET /affiliate/current
GET /affiliate/current-permissions
GET /affiliate/docs
GET /affiliate/doc
GET /affiliate/groups
GET /affiliate/group
GET /affiliate/hits
GET /affiliate/link-styles
GET /affiliate/loginids
GET /affiliate/loginlog
GET /affiliate/manual-payout
GET /affiliate/news-sections
GET /affiliate/notes
GET /affiliate/notices
GET /affiliate/override
GET /affiliate/payout
GET /affiliate/payment-periods
GET /affiliate/payvia-types
GET /affiliate/payvia-type
GET /affiliate/permissions
GET /affiliate/programcampaigns
GET /affiliate/referrer
GET /affiliate/referring-urls
GET /affiliate/reps
GET /affiliate/rest-methods
GET /affiliate/search
GET /affiliate/search-limited
GET /affiliate/settings
GET /affiliate/skins
GET /affiliate/soap-functions
GET /affiliate/status
PATCH /affiliate/adminsettings
PATCH /affiliate/account-change
PATCH /affiliate/account-type
PATCH /affiliate/account-type-permissions
PATCH /affiliate/admin-setting
PATCH /affiliate/affiliate-account-type
PATCH /affiliate/affiliate-group
PATCH /affiliate/allsettings
PATCH /affiliate/account-rep
PATCH /affiliate/avatar
PATCH /affiliate/customs
PATCH /affiliate/defaults
PATCH /affiliate/details
PATCH /affiliate/override
PATCH /affiliate/password
PATCH /affiliate/payment-period
PATCH /affiliate/payvia
PATCH /affiliate/payvia-info
PATCH /affiliate/permissions
PATCH /affiliate/referrer
PATCH /affiliate/reset-api
PATCH /affiliate/reset-rss
PATCH /affiliate/reset-tos
PATCH /affiliate/rest-permissions
PATCH /affiliate/restore
PATCH /affiliate/restore-account-type
PATCH /affiliate/settings
PATCH /affiliate/soap-permissions
PATCH /affiliate/status
POST /affiliate/account-type
POST /affiliate/add
POST /affiliate/doc
POST /affiliate/group
POST /affiliate/invoice
POST /affiliate/manual-sale
POST /affiliate/note
    Biller
GET /biller/available
GET /biller/partner-available
GET /biller/billerdata
GET /biller/cascades
GET /biller/cascades-available
GET /biller/cascade-count
GET /biller/cascade-history
GET /biller/cascade-rules
GET /biller/cascade-rule
GET /biller/cascade-step-count
GET /biller/cascade-steps
GET /biller/cascade-detail
GET /biller/cascade-list
GET /biller/count
GET /biller/detail
GET /biller/fees
GET /biller/partner-fees
GET /biller/last_poll
GET /biller/partner-last-poll
GET /biller/list
GET /biller/partner-detail
GET /biller/partner-list
GET /biller/partner-shortnames
GET /biller/process_types
GET /biller/partner-process-types
GET /biller/shortnames
GET /biller/transaction_types
GET /biller/partner-transaction-types
GET /biller/taxes
POST /biller/add
POST /biller/cascade
POST /biller/cascade-rule
POST /biller/cascade-step
POST /biller/partner
PATCH /biller/cascade
PATCH /biller/cascade-rule
PATCH /biller/cascade-step
PATCH /biller/cascade-steps-reorder
PATCH /biller/fee
PATCH /biller/partner-fee
PATCH /biller/restore
PATCH /biller/restore-cascade
PATCH /biller/restore-partner
PATCH /biller/setting
PATCH /biller/partner-setting
PATCH /biller/tax
DELETE /biller/biller
DELETE /biller/cascade
DELETE /biller/cascade-rule
DELETE /biller/cascade-step
DELETE /biller/fee
DELETE /biller/partner-fee
DELETE /biller/partner
DELETE /biller/tax
    Codes
GET /codes/affiliate-codes
GET /codes/decode
GET /codes/linkcodes
GET /codes/strack
    Config
DELETE /config/setting
GET /config/section
GET /config/sections
PATCH /config/affiliate_default
PATCH /config/section
    Include
DELETE /include/include
DELETE /include/step
GET /include/include
GET /include/includes
GET /include/templates
PATCH /include/include
PATCH /include/restore
PATCH /include/step
POST /include/include
POST /include/step
    Mailing
DELETE /mailing/mailing
DELETE /mailing/mailing-rule
DELETE /mailing/queue
GET /mailing/mailing
GET /mailing/mailings
GET /mailing/mailing-rules
GET /mailing/mailing-rule
GET /mailing/queue
GET /mailing/removelist
PATCH /mailing/mailing
PATCH /mailing/mailing-rule
PATCH /mailing/removelist
PATCH /mailing/removelist-queue
PATCH /mailing/resend-queue
PATCH /mailing/restore-queue
PATCH /mailing/send-mailing
PATCH /mailing/send-test-mailing
POST /mailing/mailing
POST /mailing/mailing-rule
POST /mailing/removelist
    Maintenance
DELETE /maintenance/log
DELETE /maintenance/cache
GET /maintenance/admin-actions
GET /maintenance/log
GET /maintenance/logs
GET /maintenance/nats
GET /maintenance/report
GET /maintenance/report-progress
GET /maintenance/reports
GET /maintenance/server
GET /maintenance/table
GET /maintenance/tables
GET /maintenance/table-clean-count
GET /maintenance/table-clean-progress
PATCH /maintenance/log
PATCH /maintenance/report
PATCH /maintenance/table
    Member
GET /member/available_flags
GET /member/encryptusername
GET /member/authstring
GET /member/details
GET /member/flags
GET /member/loginlog
GET /member/matching
GET /member/notes
GET /member/notices
GET /member/restricted-values
GET /member/search
GET /member/suggestedcanceloffers
GET /member/surfer-actions
PATCH /member/details
PATCH /member/expiration
PATCH /member/expiremanual
PATCH /member/resend-transaction-email
PATCH /member/resend-transaction-postback
PATCH /member/restricted-value
PATCH /member/forget
PATCH /member/lock
PATCH /member/unlock
POST /member/flag
POST /member/login
POST /member/note
POST /member/restricted-value
DELETE /member/flag
DELETE /member/restricted-value
    Message
DELETE /message/message
DELETE /message/permanent
GET /message/count
GET /message/messages
GET /message/view
PATCH /message/read
PATCH /message/unread
PATCH /message/undelete
POST /message/message
    News
DELETE /news/entry
DELETE /news/section
GET /news/entry
GET /news/news
GET /news/sections
PATCH /news/entry
POST /news/entry
POST /news/section
    Notification
DELETE /notification/notification
DELETE /notification/permanent
GET /notification/count
GET /notification/notifications
GET /notification/view
PATCH /notification/read
PATCH /notification/unread
PATCH /notification/undelete
    Option
GET /option/options
GET /option/rule
PATCH /option/rule
PATCH /option/text
POST /option/rule
    Payment
DELETE /payment/invoice
DELETE /payment/payout-period
DELETE /payment/payvia-field
DELETE /payment/payvia-field-mc
DELETE /payment/payvia-rule
GET /payment/dump-format
GET /payment/dump-formats
GET /payment/invoices
GET /payment/payments
GET /payment/payment-dumps
GET /payment/payment-dump
GET /payment/payment-search
GET /payment/payvia
GET /payment/payvias
GET /payment/payvia-fields
GET /payment/payvia-field-mcs
GET /payment/payout-period
GET /payment/payout-periods
GET /payment/payvia-rules
GET /payment/payvia-rule
GET /payment/payviarule
PATCH /payment/copy-dump-format
PATCH /payment/default-payout-period
PATCH /payment/dump-format
PATCH /payment/duplicate-payvia
PATCH /payment/invoice
PATCH /payment/payment
PATCH /payment/payment-paid
PATCH /payment/payment-store
PATCH /payment/payment-unstore
PATCH /payment/payments
PATCH /payment/payments-unstore
PATCH /payment/payout-period
PATCH /payment/payout-period-affiliates
PATCH /payment/payvia
PATCH /payment/payvia-field
PATCH /payment/payvia-fields-reorder
PATCH /payment/payvia-field-mc
PATCH /payment/payvia-field-mcs-reorder
PATCH /payment/payvia-rule
PATCH /payment/payviarule
PATCH /payment/restore-payout-period
PATCH /payment/restore-payvia-field
PATCH /payment/restore-payvia-field-mc
POST /payment/check-dump
POST /payment/dump-format
POST /payment/import-dump
POST /payment/invoice
POST /payment/payout-period
POST /payment/payvia
POST /payment/payvia-field
POST /payment/payvia-field-mc
POST /payment/payvia-rule
    Program
DELETE /program/program
DELETE /program/payout-change
DELETE /program/payout-change-tier
GET /program/additional-payout-change-targets
GET /program/affiliate-available
GET /program/detail
GET /program/list
GET /program/options
GET /program/payout-changes
GET /program/redirect-available
GET /program/sites
GET /program/tours
GET /program/types
PATCH /program/default_payout
PATCH /program/details
PATCH /program/disable_affiliate
PATCH /program/disable_tour
PATCH /program/enable_affiliate
PATCH /program/enable_site
PATCH /program/enable_tour
PATCH /program/move-payout-change
PATCH /program/payout-change
PATCH /program/payout-change-tier
POST /program/new
POST /program/payout-change
POST /program/payout-change-tier
    Report
GET /report/affiliate-ratios
GET /report/hits
GET /report/hit-totals
GET /report/profitloss
GET /report/profit-loss
GET /report/fields
GET /report/focus
GET /report/focuses
GET /report/groups
GET /report/perspective
GET /report/perspectives
GET /report/report
GET /report/subscription
GET /report/surfer
GET /report/surferaction
GET /report/transactionpayouts
GET /report/transactions
GET /report/transaction
GET /report/report-widget
GET /report/widgets
GET /report/widget
GET /report/widget-info
GET /report/views
POST /report/focus
POST /report/group
POST /report/perspective
PATCH /report/focus
PATCH /report/focus-enabled
PATCH /report/focus-default
PATCH /report/focuses-reorder
PATCH /report/perspective
PATCH /report/perspective-group
PATCH /report/report-widget
PATCH /report/widget
DELETE /report/focus
    Reward
DELETE /reward/category
DELETE /reward/purchase
DELETE /reward/point
DELETE /reward/reward
GET /reward/categories
GET /reward/points
GET /reward/purchases
GET /reward/rewards
PATCH /reward/move-point
PATCH /reward/point
PATCH /reward/reward
PATCH /reward/ship-purchase
PATCH /reward/unship-purchase
POST /reward/category
POST /reward/point
POST /reward/reward
    Service
GET /service/check-functions
GET /service/condition
GET /service/countries
GET /service/country
GET /service/datetime
GET /service/languages
GET /service/periods
GET /service/ping
GET /service/project
GET /service/rule-condition-data
GET /service/rule-info
GET /service/stats-breakdowns
GET /service/timezone
GET /service/timestamp
POST /service/sendemail
    Site
GET /site/base-templates
GET /site/billers
GET /site/cookies
GET /site/coupon
GET /site/coupons
GET /site/coupon-revisions
GET /site/email-settings
GET /site/groups
GET /site/option
GET /site/options
GET /site/options-available
GET /site/option-fields
GET /site/option-rules
GET /site/option-rule
GET /site/option-type
GET /site/option-types
GET /site/programs
GET /site/redirect
GET /site/redirects
GET /site/redirect-rules
GET /site/redirect-rule
GET /site/site-list
GET /site/site
GET /site/site-notices
GET /site/site-partner
GET /site/site-partners
GET /site/site-type
GET /site/sites
GET /site/template
GET /site/templates
GET /site/template-sections
GET /site/template-sites
GET /site/tour
GET /site/tours
GET /site/tour-emails
GET /site/tour-notices
POST /site/coupon
POST /site/group
POST /site/option
POST /site/option-rule
POST /site/redirect
POST /site/redirect-rule
POST /site/site-partner
POST /site/site-tour
POST /site/copy-template
POST /site/tour
PATCH /site/cookie
PATCH /site/coupon
PATCH /site/duplicate-option
PATCH /site/email-settings
PATCH /site/group
PATCH /site/move
PATCH /site/option
PATCH /site/option-rule
PATCH /site/redirect
PATCH /site/redirect-rule
PATCH /site/reset-coupon
PATCH /site/restore-group
PATCH /site/restore-option
PATCH /site/restore-redirect
PATCH /site/restore-site
PATCH /site/restore-site-partner
PATCH /site/restore-tour
PATCH /site/site
PATCH /site/site-partner
PATCH /site/template
PATCH /site/tour
DELETE /site/cookie
DELETE /site/group
DELETE /site/option
DELETE /site/option-rule
DELETE /site/site
DELETE /site/site-partner
DELETE /site/redirect
DELETE /site/redirect-rule
DELETE /site/template
DELETE /site/tour
DELETE /site/tour-field
    Skin
DELETE /skin/skin
DELETE /skin/template
GET /skin/colors
GET /skin/export
GET /skin/skins
GET /skin/sections
GET /skin/templates
GET /skin/template
PATCH /skin/colors
PATCH /skin/flush
PATCH /skin/skin
PATCH /skin/template
POST /skin/copy-template
POST /skin/import
POST /skin/skin
POST /skin/template

GET /site/tour

Description

  • Get tour details

Resource URL

  • http://domain/api/site/tour
  • Replace domain with the nats domain

Request Method

  • GET

Response Format

  • JSON

Authentication

  • HTTP headers

Parameters

Parameters can be sent as url encoded params

  • tourid
    • type: digit
    • required
  • formatted
    • type: boolean_digit (0 or 1)
    • optional
  • page
    • type: string
    • optional

Example Request

Method: GET
URL: http://domain/api/site/tour
Query String: tourid=2&formatted=1

Response:

{
    "success": true,
    "tour": {
        "fields": [
            {
                "name": "siteid",
                "display": "Site ID",
                "page": "none",
                "section": "none",
                "readonly": 1,
                "can_inherit": 0,
                "value": "2",
                "display_value": "2"
            },
            {
                "name": "networkid",
                "display": "Network ID",
                "page": "none",
                "section": "none",
                "readonly": 1,
                "can_inherit": 0,
                "value": "0",
                "display_value": "0"
            },
            {
                "name": "created_datetime",
                "display": "Created",
                "page": "details",
                "section": "main",
                "readonly": 1,
                "can_inherit": 0,
                "value": "2019-08-09 16:29:32",
                "display_value": "2019-08-09 16:29:32"
            },
            {
                "name": "thumb",
                "display": "Thumbnail",
                "page": "none",
                "section": "none",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "thumb_ext",
                "display": "Thumbnail Extension",
                "page": "none",
                "section": "none",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "tourid",
                "display": "Tour ID",
                "page": "details",
                "section": "main",
                "readonly": 1,
                "can_inherit": 0,
                "value": "2",
                "display_value": "2"
            },
            {
                "name": "name",
                "display": "Tour Name",
                "page": "details",
                "section": "main",
                "type": "string",
                "max": 128,
                "readonly": 0,
                "can_inherit": 1,
                "value": "test tour name",
                "display_value": "test tour name"
            },
            {
                "name": "tour",
                "display": "Tour Shortname",
                "page": "details",
                "section": "main",
                "type": "string",
                "readonly": 1,
                "can_inherit": 0,
                "value": "testTour",
                "display_value": "testTour"
            },
            {
                "name": "strack_programid",
                "display": "Default Programid",
                "page": "details",
                "section": "main",
                "type": "select",
                "readonly": 0,
                "can_inherit": 1,
                "values": [
                    {
                        "value": 0,
                        "name": "None"
                    }
                ],
                "value": "0",
                "display_value": "0"
            },
            {
                "name": "tour_type",
                "display": "Tour Type",
                "page": "details",
                "section": "main",
                "type": "select",
                "readonly": 0,
                "can_inherit": 0,
                "values": [
                    {
                        "value": 0,
                        "name": "Standard"
                    },
                    {
                        "value": 1,
                        "name": "Mobile"
                    }
                ],
                "value": "0",
                "display_value": "0"
            },
            {
                "name": "niche",
                "display": "Niches",
                "page": "details",
                "section": "main",
                "type": "string",
                "max": 255,
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "member_captcha",
                "display": "Member CAPTCHA",
                "page": "details",
                "section": "main",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 1,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "default",
                "display": "Default Tour",
                "page": "details",
                "section": "main",
                "type": "checkbox",
                "readonly": 1,
                "can_inherit": 0,
                "value": 1,
                "display_value": "Yes"
            },
            {
                "name": "hidden",
                "display": "Hidden",
                "page": "details",
                "section": "main",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 0,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "description",
                "display": "Description",
                "page": "details",
                "section": "main",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "test tour description",
                "display_value": "test tour description"
            },
            {
                "name": "url",
                "display": "URL",
                "required_note": "",
                "page": "details",
                "section": "urls",
                "readonly": 0,
                "can_inherit": 1,
                "type": "string",
                "max": 128,
                "check": "verify_url",
                "value": "http:\/\/toomuchmedia.com",
                "display_value": "http:\/\/toomuchmedia.com"
            },
            {
                "name": "linkdomain",
                "display": "Linkdomain",
                "required_note": "",
                "page": "details",
                "section": "urls",
                "type": "string",
                "max": 64,
                "readonly": 0,
                "can_inherit": 1,
                "check": "verify_domain",
                "prepare": "prepare_domain",
                "value": "democash.com",
                "display_value": "democash.com"
            },
            {
                "name": "cookie_domain",
                "display": "Cookie Domain",
                "page": "details",
                "section": "urls",
                "type": "select",
                "readonly": 0,
                "can_inherit": 1,
                "values": [
                    {
                        "value": 0,
                        "name": "Not Set"
                    },
                    {
                        "value": 1,
                        "name": "Parent Domain"
                    },
                    {
                        "value": 2,
                        "name": "Linkdomain"
                    },
                    {
                        "value": 3,
                        "name": "Global Config"
                    }
                ],
                "value": "0",
                "display_value": "0"
            },
            {
                "name": "gateway_https",
                "display": "Gateway HTTPS Domain",
                "page": "details",
                "section": "urls",
                "type": "string",
                "max": 64,
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "https_use",
                "display": "HTTPS Use",
                "page": "details",
                "section": "urls",
                "type": "select",
                "readonly": 0,
                "can_inherit": 1,
                "values": [
                    {
                        "value": 1,
                        "name": "No https"
                    },
                    {
                        "value": 10,
                        "name": "Use GATEWAY_HTTPS for everything"
                    },
                    {
                        "value": 11,
                        "name": "Use GATEWAY_HTTPS for the gateway join page only"
                    },
                    {
                        "value": 12,
                        "name": "Use GATEWAY_HTTPS for the gateway join page and return urls"
                    },
                    {
                        "value": 20,
                        "name": "Use tour specific linkdomain https for everything"
                    },
                    {
                        "value": 21,
                        "name": "Use tour specific linkdomain https for the gateway join page only"
                    },
                    {
                        "value": 22,
                        "name": "Use tour specific linkdomain https for the gateway join page and return urls"
                    },
                    {
                        "value": 30,
                        "name": "Use default tour linkdomain https for everything"
                    },
                    {
                        "value": 31,
                        "name": "Use default tour linkdomain https for the gateway join page only"
                    },
                    {
                        "value": 32,
                        "name": "Use default tour linkdomain https for the gateway join page and return urls"
                    },
                    {
                        "value": 40,
                        "name": "Use Gateway HTTPS Domain for everything"
                    },
                    {
                        "value": 41,
                        "name": "Use Gateway HTTPS Domain for the gateway join page only"
                    },
                    {
                        "value": 42,
                        "name": "Use Gateway HTTPS Domain for the gateway join page and return urls"
                    }
                ],
                "value": "0",
                "display_value": ""
            },
            {
                "name": "https_tracking",
                "display": "Allow HTTPS on redirects and tracking links",
                "page": "details",
                "section": "urls",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 1,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "https_display",
                "display": "Display HTTPS for tracking links",
                "page": "details",
                "section": "urls",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 1,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "allowed_lang",
                "display": "Allowed Languages",
                "page": "details",
                "section": "language",
                "type": "string",
                "max": 255,
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "allowed_lang_track_raw",
                "display": "Allow Raw Hits",
                "page": "details",
                "section": "language",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 0,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "allowed_lang_track_unq",
                "display": "Allow Unique Hits",
                "page": "details",
                "section": "language",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 0,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "allowed_lang_track_join",
                "display": "Allow Join Hits",
                "page": "details",
                "section": "language",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 0,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "alternativeurl",
                "display": "Alternative URL",
                "page": "details",
                "section": "language",
                "type": "string",
                "max": 255,
                "readonly": 0,
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "mail_threshold",
                "display": "Subject",
                "required_note": "required to send mail",
                "page": "details",
                "section": "threshold",
                "type": "string",
                "max": 255,
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_threshold_email",
                "display": "Email To",
                "required_note": "required to send mail",
                "page": "details",
                "section": "threshold",
                "type": "string",
                "max": 64,
                "check": "email_check",
                "readonly": 0,
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "threshold_body",
                "display": "Body",
                "page": "details",
                "section": "threshold",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "join_hit_threshold_hour_to_6",
                "display": "Midnight to 6 AM",
                "page": "details",
                "section": "threshold",
                "type": "string",
                "max": 32,
                "readonly": 0,
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "join_hit_threshold_hour_to_12",
                "display": "6 AM to Noon",
                "page": "details",
                "section": "threshold",
                "type": "string",
                "max": 32,
                "readonly": 0,
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "join_hit_threshold_hour_to_18",
                "display": "Noon to 6 PM",
                "page": "details",
                "section": "threshold",
                "type": "string",
                "max": 32,
                "readonly": 0,
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "join_hit_threshold_hour_to_24",
                "display": "6 PM to Midnight",
                "page": "details",
                "section": "threshold",
                "type": "string",
                "max": 32,
                "readonly": 0,
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "join_templates",
                "display": "Join Templates",
                "page": "pages_steps",
                "section": "join",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "templates_section": "join",
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "userpost",
                "display": "Username Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "prejoinpost",
                "display": "Prejoin Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "join_text",
                "display": "Join Form Text",
                "page": "pages_steps",
                "section": "join",
                "type": "string",
                "multiline": 1,
                "readonly": 0,
                "can_inherit": 1,
                "prepare": "trim",
                "value": null,
                "display_value": null
            },
            {
                "name": "join_disclaimer",
                "display": "Join Footer Disclaimer",
                "page": "pages_steps",
                "section": "join",
                "type": "string",
                "multiline": 1,
                "readonly": 0,
                "can_inherit": 1,
                "prepare": "trim",
                "value": null,
                "display_value": null
            },
            {
                "name": "gateway_templates",
                "display": "Gateway Templates",
                "page": "pages_steps",
                "section": "gateway",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "templates_section": "gateway",
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "gateway_join_text",
                "display": "Gateway Form Text",
                "page": "pages_steps",
                "section": "gateway",
                "type": "string",
                "multiline": 1,
                "readonly": 0,
                "can_inherit": 1,
                "prepare": "trim",
                "value": null,
                "display_value": null
            },
            {
                "name": "gateway_join_disclaimer",
                "display": "Gateway Footer Disclaimer",
                "page": "pages_steps",
                "section": "gateway",
                "type": "string",
                "multiline": 1,
                "readonly": 0,
                "can_inherit": 1,
                "prepare": "trim",
                "value": null,
                "display_value": null
            },
            {
                "name": "approval_templates",
                "display": "Approval Template",
                "page": "pages_steps",
                "section": "member_approval",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "approvalurl",
                "display": "Redirect - Approval URL",
                "page": "pages_steps",
                "section": "member_approval",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "approval_flow",
                "display": "User Flow",
                "page": "pages_steps",
                "section": "member_approval",
                "type": "page_flow",
                "url": "approvalurl",
                "modal": "user_flow",
                "special": 1,
                "readonly": 1,
                "display_value": "Display Template"
            },
            {
                "name": "approvalpost",
                "display": "Signup Approval",
                "page": "posts",
                "section": "pages_steps",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "denial_templates",
                "display": "Upgrade Denial Template",
                "page": "pages_steps",
                "section": "member_upgrade_denial",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "denyurl",
                "display": "Redirect - Denial URL",
                "page": "pages_steps",
                "section": "member_denial",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "denial_flow",
                "display": "User Flow",
                "page": "pages_steps",
                "section": "member_denial",
                "type": "page_flow",
                "url": "denyurl",
                "modal": "user_flow",
                "special": 1,
                "readonly": 1,
                "display_value": "Display Template"
            },
            {
                "name": "denypost",
                "display": "Signup Denial",
                "page": "posts",
                "section": "pages_steps",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "duplicate_templates",
                "display": "Duplicate Template",
                "page": "pages_steps",
                "section": "member_duplicate",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "dupeurl",
                "display": "Redirect - Duplicate URL",
                "page": "pages_steps",
                "section": "member_duplicate",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "duplicate_flow",
                "display": "User Flow",
                "page": "pages_steps",
                "section": "member_duplicate",
                "type": "page_flow",
                "url": "dupeurl",
                "modal": "user_flow",
                "special": 1,
                "readonly": 1,
                "display_value": "Display Template"
            },
            {
                "name": "upgrade_approval_templates",
                "display": "Upgrade Approval Template",
                "page": "pages_steps",
                "section": "member_upgrade_approval",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "upgradeurl",
                "display": "Redirect - Upgrade Approval URL",
                "page": "pages_steps",
                "section": "member_upgrade_approval",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "upgrade_approval_flow",
                "display": "User Flow",
                "page": "pages_steps",
                "section": "member_upgrade_approval",
                "type": "page_flow",
                "url": "upgradeurl",
                "modal": "user_flow",
                "special": 1,
                "readonly": 1,
                "display_value": "Display Template"
            },
            {
                "name": "upgradepost",
                "display": "Member Upgrade Approval",
                "page": "posts",
                "section": "pages_steps",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "upgradedenyurl",
                "display": "Redirect - Upgrade Denial URL",
                "page": "pages_steps",
                "section": "member_upgrade_denial",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "upgrade_denial_flow",
                "display": "User Flow",
                "page": "pages_steps",
                "section": "member_upgrade_denial",
                "type": "page_flow",
                "url": "upgradedenyurl",
                "modal": "user_flow",
                "special": 1,
                "readonly": 1,
                "display_value": "Display Template"
            },
            {
                "name": "upgradedenypost",
                "display": "Member Upgrade Denial",
                "page": "posts",
                "section": "pages_steps",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "package_approval_templates",
                "display": "Upgrade Approval Template",
                "page": "pages_steps",
                "section": "package_upgrade_approval",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "packageurl",
                "display": "Redirect - Upgrade Approval URL",
                "page": "pages_steps",
                "section": "package_upgrade_approval",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "package_approval_flow",
                "display": "User Flow",
                "page": "pages_steps",
                "section": "package_upgrade_approval",
                "type": "page_flow",
                "url": "packageurl",
                "modal": "user_flow",
                "special": 1,
                "readonly": 1,
                "display_value": "Display Template"
            },
            {
                "name": "packagepost",
                "display": "Package Upgrade Approval",
                "page": "posts",
                "section": "pages_steps",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "package_denial_templates",
                "display": "Upgrade Denial Template",
                "page": "pages_steps",
                "section": "package_upgrade_denial",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "packagedenyurl",
                "display": "Redirect - Upgrade Denial URL",
                "page": "pages_steps",
                "section": "package_upgrade_denial",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "package_denial_flow",
                "display": "User Flow",
                "page": "pages_steps",
                "section": "package_upgrade_denial",
                "type": "page_flow",
                "url": "packagedenyurl",
                "modal": "user_flow",
                "special": 1,
                "readonly": 1,
                "display_value": "Display Template"
            },
            {
                "name": "packagedenypost",
                "display": "Package Upgrade Denial",
                "page": "posts",
                "section": "pages_steps",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": null,
                "display_value": null
            },
            {
                "name": "userman",
                "display": "Management URL",
                "page": "posts",
                "section": "userman",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "userman_secret_key",
                "display": "User Management Encryption Key",
                "page": "posts",
                "section": "userman",
                "type": "password",
                "readonly": 0,
                "can_inherit": 1,
                "prepare": "prepare_site_data",
                "value": "",
                "display_value": ""
            },
            {
                "name": "pre_approvalpost",
                "display": "Pre (note) Join Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "pending_ncrpost",
                "display": "Pending NCR Join Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "nocost_approvalpost",
                "display": "NCR Join Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "pre_rebillpost",
                "display": "Pre (note) Rebill Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "pending_approvalpost",
                "display": "Pending Join Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "pending_rebillpost",
                "display": "Pending Rebill Post URL ",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "rebillpost",
                "display": "Rebill Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "cancelpost",
                "display": "Cancel Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "creditpost",
                "display": "Credit Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "chargebackpost",
                "display": "Chargeback Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "insufficient_fundpost",
                "display": "Insufficient Funds Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "voidpost",
                "display": "Void Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "expirepost",
                "display": "Expire Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "change_detailspost",
                "display": "Changed Details Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "credit_reversal_post",
                "display": "Credit Reversal Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "void_reversal_post",
                "display": "Void Reversal Post URL ",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "chargeback_reversal_post",
                "display": "Chargeback Reversal Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "insufficient_funds_reversal_post",
                "display": "Insufficient Funds Reversal Post URL",
                "page": "posts",
                "section": "postbacks",
                "type": "string",
                "readonly": 0,
                "check": "verify_url",
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_joined",
                "display": "Member Join Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_joined_enabled",
                "display": "Enable Member Join",
                "page": "emails",
                "section": "member_emails",
                "type": "checkbox",
                "readonly": 0,
                "can_inherit": 1,
                "value": "0",
                "display_value": "No"
            },
            {
                "name": "mail_member_joined_templates",
                "display": "Member Join Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_nocostjoined",
                "display": "Member No Cost Join Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_nocostjoined_templates",
                "display": "Member No Cost Join Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_cancelled",
                "display": "Member Cancel Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_cancelled_templates",
                "display": "Member Cancel Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_rebilled",
                "display": "Member Rebill Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_rebilled_templates",
                "display": "Member Rebill Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_credited",
                "display": "Member Credit Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_credited_templates",
                "display": "Member Credit Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_chargedback",
                "display": "Member Chargeback Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_chargedback_templates",
                "display": "Member Chargeback Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_insufficient",
                "display": "Member Insufficient Funds Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_insufficient_templates",
                "display": "Member Insufficient Funds Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_voided",
                "display": "Member Void Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_voided_templates",
                "display": "Member Void Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_change",
                "display": "Member Details Change Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_change_templates",
                "display": "Member Details Change Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_password",
                "display": "Member Password Retrieval Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "Password Retrieval",
                "display_value": "Password Retrieval"
            },
            {
                "name": "mail_member_password_templates",
                "display": "Member Password Retrieval Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_insufficient_reversal",
                "display": "Member Insufficient Funds Reversal Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_insufficient_reversal_templates",
                "display": "Member Insufficient Funds Reversal Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_void_reversal",
                "display": "Member Void Reversal Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_void_reversal_templates",
                "display": "Member Void Reversal Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_credit_reversal",
                "display": "Member Credit Reversal Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_credit_reversal_templates",
                "display": "Member Credit Reversal Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_chargeback_reversal",
                "display": "Member Chargeback Reversal Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_chargeback_reversal_templates",
                "display": "Member Chargeback Reversal Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_pre_joined",
                "display": "Member Pre Join Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_pre_joined_templates",
                "display": "Member Pre Join Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_pre_rebilled",
                "display": "Member Pre Rebill Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_pre_rebilled_templates",
                "display": "Member Pre Rebill Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_pending_joined",
                "display": "Member Pending Join Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_pending_joined_templates",
                "display": "Member Pending Join Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_pending_rebilled",
                "display": "Member Pending Rebill Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "mail_member_pending_rebilled_templates",
                "display": "Member Pending Rebill Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "mail_member_pending_ncr",
                "display": "Member Pending No Cost Registration Subject",
                "page": "emails",
                "section": "member_emails",
                "type": "string",
                "readonly": 0,
                "can_inherit": 1,
                "value": "Verify Your Free Registration",
                "display_value": "Verify Your Free Registration"
            },
            {
                "name": "mail_member_pending_ncr_templates",
                "display": "Member Pending No Cost Registration Templates",
                "page": "emails",
                "section": "member_emails",
                "type": "templates",
                "readonly": 1,
                "templates": [],
                "can_inherit": 0,
                "value": null,
                "display_value": false
            },
            {
                "name": "admin_signup_email",
                "display": "Signup E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_rebill_email",
                "display": "Rebill E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_cancelled_email",
                "display": "Cancelled E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_credited_email",
                "display": "Credited E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_chargeback_email",
                "display": "Chargeback E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_voided_email",
                "display": "Voided E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_insufficient_email",
                "display": "Insufficient E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_void_reversal_email",
                "display": "Void Reversal E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_credit_reversal_email",
                "display": "Credit Reversal E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_chargeback_reversal_email",
                "display": "Chargeback Reversal E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_insufficient_reversal_email",
                "display": "Insufficient Reversal E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            },
            {
                "name": "admin_change_email",
                "display": "Change E-Mail",
                "page": "emails",
                "section": "admin_emails",
                "type": "string",
                "check": "verify_email_list",
                "readonly": 0,
                "can_inherit": 1,
                "value": "",
                "display_value": ""
            }
        ],
        "tourid": "2",
        "name": "test tour name",
        "siteid": "2",
        "tour": "testTour",
        "default": 1,
        "site": {
            "siteid": "2",
            "networkid": "0",
            "site": "testSite",
            "deleted": "0",
            "name": "test site name",
            "type": "0",
            "hidden": "0",
            "date_added": "1559932173",
            "date_live": "0",
            "network": "0",
            "reuse_active": "0",
            "no_personal_member_info": "0",
            "mobile_tour": "0",
            "site_group_id": "0",
            "featured": "0",
            "brand_id": "0",
            "require_atvod_verification": "0",
            "atvod_client_id": "",
            "atvod_operator_id": "",
            "atvod_password": "",
            "atvod_authenticate_profile_id": "",
            "atvod_passport_profile_id": "",
            "atvod_driving_licence_profile_id": "",
            "type_nice": "Membership",
            "site_group_nice": "None"
        }
    }
}



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(
	'tourid' => 2,
	'formatted' => 1,
);

$request = Array(
	'method' => 'GET',
	'path' => 'v1/site/tour',
	'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);
?>