Difference between revisions of "NATS5 REST API Reward POST reward"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''POST /reward/reward''' == '''Description''' * Add new reward '''Resource URL''' *<nowiki>http://domain/api/reward/rew...") |
(No difference)
|
Revision as of 10:48, 19 April 2019
POST /reward/reward
Description
- Add new reward
Resource URL
- http://domain/api/reward/reward
- Replace domain with the nats domain
- POST
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- name
- type: string
- required
- reward_category_id
- type: digit
- required
- description
- type: string
- optional
- cost
- type: digit
- required
- url
- type: string
- optional