Difference between revisions of "NATS5 REST API Site POST site-tour"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''POST /site/site-tour''' == '''Description''' * Add new site and default tour '''Resource URL''' *<nowiki>http://domai...") |
(No difference)
|
Revision as of 10:48, 19 April 2019
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