71 lines
2.0 KiB
HTTP
71 lines
2.0 KiB
HTTP
@api_HostAddress = http://localhost:5168
|
|
@eventId = cdae537c-e5ad-4945-9557-b14ba473c80f
|
|
@seasonId = c69552ba-8fcf-43b4-9d4f-23b5203ea40e
|
|
|
|
POST {{api_HostAddress}}/event
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"Date": "2024-12-07T15:00:00.991Z",
|
|
"Name": "Winter Concert",
|
|
"Description": "A wintery journey of classical music",
|
|
"SeasonId": "{{seasonId}}",
|
|
"Venue": {
|
|
"Name": "Valley Forge High School",
|
|
"Description": "Auditorium",
|
|
"AddressOne": "9999 Independence Blvd",
|
|
"AddressTwo": null,
|
|
"City": "Parma",
|
|
"State": "Ohio",
|
|
"Zip": "44130"
|
|
},
|
|
"Talent": {
|
|
"Name": "Parma Symphony Orchestra",
|
|
"Description": "Parma Symphony Orchestra is a Northeast Ohio community orchestra with over 50 years of history bringing classical music to people of all ages, with opportunities for local students and professional guests to perform a wide ranging repertoire."
|
|
}
|
|
}
|
|
|
|
###
|
|
|
|
PATCH {{api_HostAddress}}/event
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"Id": "{{eventId}}",
|
|
"Date": "2024-12-05T15:00:00.991Z",
|
|
"Name": "Winter Concert",
|
|
"Description": "A wintery journey of classical music",
|
|
"Venue": {
|
|
"Name": "Valley Forge High School",
|
|
"Description": "Auditorium",
|
|
"AddressOne": "9999 Independence Blvd",
|
|
"AddressTwo": null,
|
|
"City": "Parma",
|
|
"State": "Ohio",
|
|
"Zip": "44130"
|
|
},
|
|
"Talent": {
|
|
"Name": "Parma Symphony Orchestra",
|
|
"Description": "Parma Symphony Orchestra is a Northeast Ohio community orchestra with over 50 years of history bringing classical music to people of all ages, with opportunities for local students and professional guests to perform a wide ranging repertoire."
|
|
}
|
|
}
|
|
|
|
###
|
|
|
|
GET {{api_HostAddress}}/event?startDate=2024-12-01&endDate=2024-12-31
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
###
|
|
|
|
GET {{api_HostAddress}}/event
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
###
|
|
|
|
GET {{api_HostAddress}}/event?seasonId={{seasonId}}
|
|
Accept: application/json
|
|
Content-Type: application/json |