NATS5 REST API Site POST site-tour
From TMM Wiki
Jump to navigationJump to search
POST /site/site-tour
Description
- Add new site and default tour
Resource URL
- http://domain/api/site/site-tour
- Replace domain with the nats domain
- POST
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- site
- type: string
- required
- site_name
- type: string
- optional
- site_type
- type: digit
- required
- site_hidden
- type: boolean_digit
- optional
- site_group_id
- type: digit
- optional
- brand_id
- type: digit
- optional
- date_added
- type: datetime (A date string to be parsed by php strtotime, or a unix timestamp integer)
- optional (default value: 1555685306)
- tour
- type: string
- required
- tour_name
- type: string
- optional
- tour_url
- type: string
- required
- tour_linkdomain
- type: string
- required
- tour_description
- type: string
- optional