Difference between revisions of "NATS5 REST API Adtool POST field"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''POST /adtool/field''' == '''Description''' * Add new adtool type field '''Resource URL''' *<nowiki>http://domain/api/...") |
(No difference)
|
Revision as of 10:45, 19 April 2019
POST /adtool/field
Description
- Add new adtool type field
Resource URL
- http://domain/api/adtool/field
- Replace domain with the nats domain
- POST
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- adtool_type_id
- type: digit
- required
- shortname
- type: string
- required
- name
- type: string
- required
- type
- type: digit
- required
- check_function
- type: string
- optional
- required
- type: boolean_digit
- optional
- min_display
- type: boolean_digit
- optional
- is_unique
- type: boolean_digit
- optional
- allow_search
- type: boolean_digit
- optional
- min
- type: digit
- optional
- max
- type: digit
- optional