Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holi Json #16

Open
varunmehta opened this issue Mar 29, 2017 · 1 comment
Open

Holi Json #16

varunmehta opened this issue Mar 29, 2017 · 1 comment
Assignees

Comments

@varunmehta
Copy link
Member

{ "name": "Glen Rock Holi - 2017", "description": "Let's celebrate the onset of Spring with colors. Live DJ Music Fun and Kids color run. Food available for purchase at the event. Net proceeds from the event and sale of food will be donated to Glen Rock Middle and High School", "startDateTime": "2017-04-22T11:00:00", "endDateTime": "2017-04-22T14:00:00", "maxCapacity": 200, "location": "Lower Faber Fields, Glen Rock (380 Doremus Ave, Glen Rock)", "locationURL": "https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d1506.2442243039332!2d-74.12964083386848!3d40.970784040398534!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c2fcab80b38c0b%3A0x933ea1f3338e8f4b!2sFaber+Fields!5e0!3m2!1sen!2sus!4v1490796727751", "flyerUrl": "https://www.facebook.com/events/443169852700136/", "contactEmail": "[email protected]", "adultCost": 10, "childCost": 5, "transactionFeeCharged": false, "free": false }

@varunmehta varunmehta self-assigned this Mar 29, 2017
@kunalkhosla
Copy link

PUT Example:
http://localhost:8080/event/2

{
"id": 2,
"name": "khosla-event",
"description": "khosla-event-description",
"startDateTime": null,
"endDateTime": null,
"maxCapacity": 0,
"location": null,
"locationURL": null,
"flyerUrl": null,
"contactEmail": null,
"adultCost": 0,
"childCost": 0,
"transactionFeeCharged": false,
"free": true,
"createdBy": null,
"createdDate": "2017-03-27T18:32:30.301+0000",
"updatedBy": null,
"updatedDate": "2017-03-27T18:32:30.301+0000",
"pinned": false,
"_links": {
"self": {
"href": "http://localhost:8080/event/1"
},
"gricEvent": {
"href": "http://localhost:8080/event/1"
}
}
}

POST Example:
http://localhost:8080/event

{
"name": "khosla-event",
"description": "khosla-event-description",
"startDateTime": null,
"endDateTime": null,
"maxCapacity": 0,
"location": null,
"locationURL": null,
"flyerUrl": null,
"contactEmail": null,
"adultCost": 0,
"childCost": 0,
"transactionFeeCharged": false,
"free": true,
"createdBy": null,
"createdDate": "2017-03-27T18:32:30.301+0000",
"updatedBy": null,
"updatedDate": "2017-03-27T18:32:30.301+0000",
"pinned": false,
"_links": {
"self": {
"href": "http://localhost:8080/event/1"
},
"gricEvent": {
"href": "http://localhost:8080/event/1"
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants