Public Relations
List of all routes:
- List all Public Relations
- List Public Relations stats
- Update Public Relation
- Create new Public Relation
- Delete Public Relation
List All Public Relations
- GET https://nite-apigateway.herokuapp.com/nightClub/public-relations/ - List all Public Relations from one night club
Requires token in header (Bearer token) from employee or manager.
List Public Relations Stats By Date
- GET https://nite-apigateway.herokuapp.com/nightClub/public-relations/stats?date=aaaa-mm-dd - List all Public Relations stats from one night club
Requires token in header (Bearer token) from employee or manager.
Update Public Relation
- PUT https://nite-apigateway.herokuapp.com/nightClub/public-relations/{id} - Update a Public Relation
Requires token from manager.
req.body = {
pr_fullname: String,
pr_shortcode: String,
pr_phone: String,
pr_email: String
}
Create new Public Relation
- POST https://nite-apigateway.herokuapp.com/nightClub/public-relations/ - Create new Public Relation
Requires token from manager.
req.body = {
pr_fullname: String,
pr_shortcode: String,
pr_phone: String,
pr_email: String
}
Delete Public Relation
- DELETE https://nite-apigateway.herokuapp.com/nightClub/public-relations/{id} - Deletes Public Relation
Requires token from manager