Difference between revisions of "NATS5 REST API Adtool PATCH adtool-rule"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''PATCH /adtool/adtool-rule''' == '''Description''' * Edit adtool rule '''Resource URL''' *<nowiki>http://domain/api/ad...") |
(No difference)
|
Revision as of 10:45, 19 April 2019
PATCH /adtool/adtool-rule
Description
- Edit adtool rule
Resource URL
- http://domain/api/adtool/adtool-rule
- Replace domain with the nats domain
- PATCH
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- adtoolid
- type: digit
- required
- ruleid
- type: string
- required
- rule_type
- type: trinary_digit (0, 1, or 2)
- required
- login
- type: digit_list (Either a comma-separated string of digits, or a JSON array of digits)
- optional
- program
- type: digit_list (Either a comma-separated string of digits, or a JSON array of digits)
- optional
- site
- type: digit_list (Either a comma-separated string of digits, or a JSON array of digits)
- optional
- tour
- type: digit_list (Either a comma-separated string of digits, or a JSON array of digits)
- optional
- start_time
- type: string
- optional (default value: NOW)
- end_time
- type: string
- optional (default value: FOREVER)