NATS5 REST API Reward POST reward
From TMM Wiki
Jump to navigationJump to search
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