JSON's utilizados nos metodos POST e UPDATE
-
Post
{ "name": "admin_test", "email": "[email protected]", "phoneNumber": "15-1234-12345" }
-
Update
{ "email": "[email protected]", "phoneNumber": "15-9999-99999" }
-
Post
{ "name": "Joao", "email": "[email protected]", "balance": 400 }
-
Update
{ "email": "[email protected]", "balance": 250 }
-
Post
{ "name": "Itapetininga", "address": "Rua Itapetininga" }
-
Update
{ "name": "Sao Paulo", "address": "Rua Sao Paulo" }
-
Post
{ "name": "Spring boot", "description": "Spring boot learners", "startDate": "2021-06-15", "endDate": "2021-06-20", "startTime": "19:00:00", "endTime": "22:00:00", "emailContact": "[email protected]", "amountFreeTickets": 100, "amountPayedTickets": 300, "priceTicket": 35, "adminId": 1 }
-
Update
{ "description": "React learners", "startDate": "2021-06-15", "endDate": "2021-06-20", "startTime": "19:00:00", "endTime": "23:00:00", "emailContact": "[email protected]", "amountFreeTickets": 50, "amountPayedTickets": 400, "priceTicket": 10 }