fossasia / open-event-attendee-android

Open Event Attendee Android General App https://github.com/fossasia/open-event-android/blob/apk/open-event-dev-app-playStore-debug.apk
Apache License 2.0
1.95k stars 551 forks source link

Make My Tickets Screen #293

Closed nikit19 closed 6 years ago

nikit19 commented 6 years ago

All placed orders of the user should be displayed in this section working on it :+1:

nikit19 commented 6 years ago

@iamareebjamal I was having some difficulty. I thought of showing the event name of all the orders under a user. So my endpoint looks something like this. @GET("/v1/users/{id}/orders=?include=event") I am able to retrieve the list of event ids correctly but what I want is the list of events. The list of events are returned in the included block from the server. I am not able to retrieve it in the app. Could you please help

iamareebjamal commented 6 years ago

You have to create another POJO with Event relationship

How can app parse entire event object in EventId class

nikit19 commented 6 years ago

@iamareebjamal This is exactly what I did but the error that I get in the logs is java.lang.IllegalArgumentException: field org.fossasia.openevent.general.order.OrderUnderUser.event has type org.fossasia.openevent.general.event.Event, got org.fossasia.openevent.general.event.EventId

iamareebjamal commented 6 years ago

Where

nikit19 commented 6 years ago

https://github.com/fossasia/open-event-android/compare/development...nikit19:myTickets?expand=1 @iamareebjamal This is just a rough implementation to see if I am able to get the correct values. That's why didn't send a PR. Is my POJO OrderUnderUser correct?

iamareebjamal commented 6 years ago

Yes, seems fine

nikit19 commented 6 years ago

java.lang.IllegalArgumentException: field org.fossasia.openevent.general.order.OrderUnderUser.event has type org.fossasia.openevent.general.event.Event, got org.fossasia.openevent.general.event.EventId @iamareebjamal This is the error that I get. Could this mean that the event that I am referring to is of type eventId? but this does not make sense according to me

iamareebjamal commented 6 years ago

Where does this happen?

nikit19 commented 6 years ago

In the orderUser function, the request is not successful so I get this message in the logs

iamareebjamal commented 6 years ago

Paste the response you are getting

nikit19 commented 6 years ago

@iamareebjamal here is the response

{"data": [{"type": "order", "attributes": {"zipcode": null, "order-notes": null, "tickets-pdf-url": null, "transaction-id": null, "amount": 0.0, "state": null, "exp-year": null, "payment-mode": "free", "address": null, "city": null, "discount-code-id": null, "brand": null, "country": "vbnn", "created-at": "2018-07-08T16:29:45.560743+00:00", "paid-via": null, "deleted-at": null, "cancel-note": null, "exp-month": null, "identifier": "7c677927-b361-4366-a8a8-ef26e5456eec", "completed-at": null, "last4": null, "status": "expired"}, "relationships": {"event": {"links": {"self": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/relationships/event", "related": "/v1/events/731"}, "data": {"type": "event", "id": "731"}}, "tickets": {"links": {"self": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/relationships/ticket", "related": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/tickets"}}, "discount-code": {"links": {"self": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/relationships/discount-code"}}, "user": {"links": {"self": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/relationships/user", "related": "/v1/users/40"}}, "attendees": {"links": {"self": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/relationships/attendee", "related": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/attendees"}}, "marketer": {"links": {"self": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec/relationships/marketer"}}}, "id": "95", "links": {"self": "/v1/orders/7c677927-b361-4366-a8a8-ef26e5456eec"}}, {"type": "order", "attributes": {"zipcode": null, "order-notes": null, "tickets-pdf-url": null, "transaction-id": null, "amount": 0.0, "state": null, "exp-year": null, "payment-mode": "free", "address": null, "city": null, "discount-code-id": null, "brand": null, "country": "b nm", "created-at": "2018-07-08T16:30:33.860559+00:00", "paid-via": null, "deleted-at": null, "cancel-note": null, "exp-month": null, "identifier": "3369567d-c087-4f69-a55a-6453417ff32d", "completed-at": null, "last4": null, "status": "expired"}, "relationships": {"event": {"links": {"self": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/relationships/event", "related": "/v1/events/731"}, "data": {"type": "event", "id": "731"}}, "tickets": {"links": {"self": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/relationships/ticket", "related": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/tickets"}}, "discount-code": {"links": {"self": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/relationships/discount-code"}}, "user": {"links": {"self": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/relationships/user", "related": "/v1/users/40"}}, "attendees": {"links": {"self": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/relationships/attendee", "related": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/attendees"}}, "marketer": {"links": {"self": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d/relationships/marketer"}}}, "id": "96", "links": {"self": "/v1/orders/3369567d-c087-4f69-a55a-6453417ff32d"}}, {"type": "order", "attributes": {"zipcode": null, "order-notes": null, "tickets-pdf-url": null, "transaction-id": null, "amount": null, "state": null, "exp-year": null, "payment-mode": "free", "address": null, "city": null, "discount-code-id": null, "brand": null, "country": "h", "created-at": "2018-07-16T13:53:43.103297+00:00", "paid-via": null, "deleted-at": null, "cancel-note": null, "exp-month": null, "identifier": "15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41", "completed-at": null, "last4": null, "status": "expired"}, "relationships": {"event": {"links": {"self": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/relationships/event", "related": "/v1/events/660"}, "data": {"type": "event", "id": "660"}}, "tickets": {"links": {"self": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/relationships/ticket", "related": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/tickets"}}, "discount-code": {"links": {"self": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/relationships/discoun 07-21 16:54:08.739 8023-8693/com.eventyay.attendee D/OkHttp: t-code"}}, "user": {"links": {"self": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/relationships/user", "related": "/v1/users/40"}}, "attendees": {"links": {"self": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/relationships/attendee", "related": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/attendees"}}, "marketer": {"links": {"self": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41/relationships/marketer"}}}, "id": "175", "links": {"self": "/v1/orders/15a0d2a5-2beb-4c0f-894a-c1f5e56d4a41"}}, {"type": "order", "attributes": {"zipcode": null, "order-notes": null, "tickets-pdf-url": null, "transaction-id": null, "amount": null, "state": null, "exp-year": null, "payment-mode": "free", "address": null, "city": null, "discount-code-id": null, "brand": null, "country": "bh", "created-at": "2018-07-08T18:05:39.324150+00:00", "paid-via": null, "deleted-at": null, "cancel-note": null, "exp-month": null, "identifier": "8d3818ff-1046-4e70-bc5a-fe2a94c3c319", "completed-at": null, "last4": null, "status": "expired"}, "relationships": {"event": {"links": {"self": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/relationships/event", "related": "/v1/events/1"}, "data": {"type": "event", "id": "1"}}, "tickets": {"links": {"self": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/relationships/ticket", "related": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/tickets"}}, "discount-code": {"links": {"self": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/relationships/discount-code"}}, "user": {"links": {"self": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/relationships/user", "related": "/v1/users/40"}}, "attendees": {"links": {"self": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/relationships/attendee", "related": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/attendees"}}, "marketer": {"links": {"self": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319/relationships/marketer"}}}, "id": "98", "links": {"self": "/v1/orders/8d3818ff-1046-4e70-bc5a-fe2a94c3c319"}}, {"type": "order", "attributes": {"zipcode": null, "order-notes": null, "tickets-pdf-url": null, "transaction-id": null, "amount": 0.0, "state": null, "exp-year": null, "payment-mode": "free", "address": null, "city": null, "discount-code-id": null, "brand": null, "country": "bshs", "created-at": "2018-07-20T08:51:44.926920+00:00", "paid-via": null, "deleted-at": null, "cancel-note": null, "exp-month": null, "identifier": "bc8d66df-68f8-44d4-91a6-8d868b8605be", "completed-at": null, "last4": null, "status": "expired"}, "relationships": {"event": {"links": {"self": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/relationships/event", "related": "/v1/events/5"}, "data": {"type": "event", "id": "5"}}, "tickets": {"links": {"self": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/relationships/ticket", "related": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/tickets"}}, "discount-code": {"links": {"self": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/relationships/discount-code"}}, "user": {"links": {"self": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/relationships/user", "related": "/v1/users/40"}}, "attendees": {"links": {"self": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/relationships/attendee", "related": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/attendees"}}, "marketer": {"links": {"self": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be/relationships/marketer"}}}, "id": "204", "links": {"self": "/v1/orders/bc8d66df-68f8-44d4-91a6-8d868b8605be"}}], "included": [{"type": "event", "relationships": {"faqs": {"links": {"self": "/v1/events/731/relationships/faqs", "related": "/v1/events/731/faqs"}}, "event-type": {"links": {"self": "/v1/events/731/relationships/event-type", "related": "/v1/events/731/event-type"}}, "session-types": {"links": {"self": "/v1/events/731/relationships/session-types", "related": "/v1/events/731/session-types"}}, "tickets": {"links": {"self": "/v1/events/731/relationships/tickets", "related": "/v1/events/731/tickets 07-21 16:54:08.739 8023-8693/com.eventyay.attendee D/OkHttp: "}}, "microlocations": {"links": {"self": "/v1/events/731/relationships/microlocations", "related": "/v1/events/731/microlocations"}}, "feedbacks": {"links": {"self": "/v1/events/731/relationships/feedbacks", "related": "/v1/events/731/feedbacks"}}, "faq-types": {"links": {"self": "/v1/events/731/relationships/faq-types", "related": "/v1/events/731/faq-types"}}, "speakers-call": {"links": {"self": "/v1/events/731/relationships/speakers-call", "related": "/v1/events/731/speakers-call"}}, "event-sub-topic": {"links": {"self": "/v1/events/731/relationships/event-sub-topic", "related": "/v1/events/731/event-sub-topic"}}, "speakers": {"links": {"self": "/v1/events/731/relationships/speakers", "related": "/v1/events/731/speakers"}}, "coorganizers": {"links": {"self": "/v1/events/731/relationships/coorganizers", "related": "/v1/users"}}, "tracks": {"links": {"self": "/v1/events/731/relationships/tracks", "related": "/v1/events/731/tracks"}}, "ticket-tags": {"links": {"self": "/v1/events/731/relationships/ticket-tags", "related": "/v1/events/731/ticket-tags"}}, "sponsors": {"links": {"self": "/v1/events/731/relationships/sponsors", "related": "/v1/events/731/sponsors"}}, "sessions": {"links": {"self": "/v1/events/731/relationships/sessions", "related": "/v1/events/731/sessions"}}, "organizers": {"links": {"self": "/v1/events/731/relationships/organizers", "related": "/v1/users"}}, "event-copyright": {"links": {"self": "/v1/events/731/relationships/event-copyright", "related": "/v1/events/731/event-copyright"}}, "tax": {"links": {"self": "/v1/events/731/relationships/tax", "related": "/v1/events/731/tax"}}, "event-topic": {"links": {"self": "/v1/events/731/relationships/event-topic", "related": "/v1/events/731/event-topic"}}, "social-links": {"links": {"self": "/v1/events/731/relationships/social-links", "related": "/v1/events/731/social-links"}}, "custom-forms": {"links": {"self": "/v1/events/731/relationships/custom-forms", "related": "/v1/events/731/custom-forms"}}}, "attributes": {"longitude": 78.96288, "is-sessions-speakers-enabled": false, "ical-url": null, "privacy": "public", "onsite-details": null, "bank-details": null, "ticket-url": null, "starts-at": "2018-08-07T18:30:00+00:00", "is-tax-enabled": false, "average-rating": null, "organizer-name": null, "can-pay-by-stripe": false, "can-pay-by-cheque": false, "thumbnail-image-url": null, "large-image-url": null, "state": "published", "can-pay-by-paypal": false, "xcal-url": null, "is-map-shown": true, "icon-image-url": null, "timezone": "Asia/Kolkata", "can-pay-onsite": false, "ends-at": "2018-08-08T11:30:36.618000+00:00", "location-name": "India", "created-at": "2018-07-08T16:24:39.770836+00:00", "deleted-at": null, "payment-currency": "USD", "organizer-description": null, "has-organizer-info": false, "code-of-conduct": null, "schedule-published-on": null, "original-image-url": null, "cheque-details": null, "is-sponsors-enabled": false, "paypal-email": null, "name": "Ticket Sales event", "identifier": "c305cb26", "pentabarf-url": null, "logo-url": null, "can-pay-by-bank": false, "external-event-url": null, "payment-country": null, "description": "", "is-ticketing-enabled": true, "searchable-location-name": null, "latitude": 20.593684}, "id": "731", "links": {"self": "/v1/events/731"}}, {"type": "event", "relationships": {"faqs": {"links": {"self": "/v1/events/660/relationships/faqs", "related": "/v1/events/660/faqs"}}, "event-type": {"links": {"self": "/v1/events/660/relationships/event-type", "related": "/v1/events/660/event-type"}}, "session-types": {"links": {"self": "/v1/events/660/relationships/session-types", "related": "/v1/events/660/session-types"}}, "tickets": {"links": {"self": "/v1/events/660/relationships/tickets", "related": "/v1/events/660/tickets"}}, "microlocations": {"links": {"self": "/v1/events/660/relationships/microlocations", "related": "/v1/events/660/microlocations"}}, "feedbacks": {"links": {"self": "/v1/events/660/relationships/feedbacks", "related": " 07-21 16:54:08.740 8023-8693/com.eventyay.attendee D/OkHttp: /v1/events/660/feedbacks"}}, "faq-types": {"links": {"self": "/v1/events/660/relationships/faq-types", "related": "/v1/events/660/faq-types"}}, "speakers-call": {"links": {"self": "/v1/events/660/relationships/speakers-call", "related": "/v1/events/660/speakers-call"}}, "event-sub-topic": {"links": {"self": "/v1/events/660/relationships/event-sub-topic", "related": "/v1/events/660/event-sub-topic"}}, "speakers": {"links": {"self": "/v1/events/660/relationships/speakers", "related": "/v1/events/660/speakers"}}, "coorganizers": {"links": {"self": "/v1/events/660/relationships/coorganizers", "related": "/v1/users"}}, "tracks": {"links": {"self": "/v1/events/660/relationships/tracks", "related": "/v1/events/660/tracks"}}, "ticket-tags": {"links": {"self": "/v1/events/660/relationships/ticket-tags", "related": "/v1/events/660/ticket-tags"}}, "sponsors": {"links": {"self": "/v1/events/660/relationships/sponsors", "related": "/v1/events/660/sponsors"}}, "sessions": {"links": {"self": "/v1/events/660/relationships/sessions", "related": "/v1/events/660/sessions"}}, "organizers": {"links": {"self": "/v1/events/660/relationships/organizers", "related": "/v1/users"}}, "event-copyright": {"links": {"self": "/v1/events/660/relationships/event-copyright", "related": "/v1/events/660/event-copyright"}}, "tax": {"links": {"self": "/v1/events/660/relationships/tax", "related": "/v1/events/660/tax"}}, "event-topic": {"links": {"self": "/v1/events/660/relationships/event-topic", "related": "/v1/events/660/event-topic"}}, "social-links": {"links": {"self": "/v1/events/660/relationships/social-links", "related": "/v1/events/660/social-links"}}, "custom-forms": {"links": {"self": "/v1/events/660/relationships/custom-forms", "related": "/v1/events/660/custom-forms"}}}, "attributes": {"longitude": 103.8247713, "is-sessions-speakers-enabled": false, "ical-url": null, "privacy": "public", "onsite-details": null, "bank-details": null, "ticket-url": null, "starts-at": "2018-08-07T18:30:00+00:00", "is-tax-enabled": false, "average-rating": null, "organizer-name": null, "can-pay-by-stripe": false, "can-pay-by-cheque": false, "thumbnail-image-url": "https://open-event-api-dev.herokuapp.com/static/media/events/660/thumbnail/Tjh2cTU4Mk/982d1482-1af1-473f-abcc-b13c07155ec4.jpg", "large-image-url": "https://open-event-api-dev.herokuapp.com/static/media/events/660/large/TEpvKzJOYm/970c7849-7253-40c3-a0ea-783f729bc455.jpg", "state": "published", "can-pay-by-paypal": false, "xcal-url": null, "is-map-shown": true, "icon-image-url": "https://open-event-api-dev.herokuapp.com/static/media/events/660/icon/ajQwaERWb2/33fdd12c-7b40-4124-b32d-cc31f350ffb5.jpg", "timezone": "Asia/Calcutta", "can-pay-onsite": false, "ends-at": "2018-08-09T11:30:01.177000+00:00", "location-name": "Clarke Quay, Singapore 179023", "created-at": "2018-07-04T16:43:47.142927+00:00", "deleted-at": null, "payment-currency": "USD", "organizer-description": null, "has-organizer-info": false, "code-of-conduct": null, "schedule-published-on": null, "original-image-url": "https://open-event-api-dev.herokuapp.com/static/media/events/660/original/Wk94bDZtWn/f1b39e09-b24e-4903-83e6-b27933eda1e3.jpg", "cheque-details": null, "is-sponsors-enabled": false, "paypal-email": null, "name": "LIVE Rockstar Karaoke", "identifier": "c98f956d", "pentabarf-url": null, "logo-url": "https://s3.amazonaws.com/htw/dt-contest-entries/189427/united-states-night-club-music-bar-logo-design.png", "can-pay-by-bank": false, "external-event-url": null, "payment-country": "United States", "description": "Live out your rock star fantasies and sing your favourite hits with our live band! Not only will our professional singer guide you through the song, but we''ll supply you with all the lyrics. Get in touch with us now and be a part of the lineup!", "is-ticketing-enabled": true, "searchable-location-name": null, "latitude": 1.2647406}, "id": "660", "links": {"self": "/v1/events/660"}}, {"type": "event", "relationships": {"faqs": {"links 07-21 16:54:08.740 8023-8693/com.eventyay.attendee D/OkHttp: ": {"self": "/v1/events/1/relationships/faqs", "related": "/v1/events/1/faqs"}}, "event-type": {"links": {"self": "/v1/events/1/relationships/event-type", "related": "/v1/events/1/event-type"}}, "session-types": {"links": {"self": "/v1/events/1/relationships/session-types", "related": "/v1/events/1/session-types"}}, "tickets": {"links": {"self": "/v1/events/1/relationships/tickets", "related": "/v1/events/1/tickets"}}, "microlocations": {"links": {"self": "/v1/events/1/relationships/microlocations", "related": "/v1/events/1/microlocations"}}, "feedbacks": {"links": {"self": "/v1/events/1/relationships/feedbacks", "related": "/v1/events/1/feedbacks"}}, "faq-types": {"links": {"self": "/v1/events/1/relationships/faq-types", "related": "/v1/events/1/faq-types"}}, "speakers-call": {"links": {"self": "/v1/events/1/relationships/speakers-call", "related": "/v1/events/1/speakers-call"}}, "event-sub-topic": {"links": {"self": "/v1/events/1/relationships/event-sub-topic", "related": "/v1/events/1/event-sub-topic"}}, "speakers": {"links": {"self": "/v1/events/1/relationships/speakers", "related": "/v1/events/1/speakers"}}, "coorganizers": {"links": {"self": "/v1/events/1/relationships/coorganizers", "related": "/v1/users"}}, "tracks": {"links": {"self": "/v1/events/1/relationships/tracks", "related": "/v1/events/1/tracks"}}, "ticket-tags": {"links": {"self": "/v1/events/1/relationships/ticket-tags", "related": "/v1/events/1/ticket-tags"}}, "sponsors": {"links": {"self": "/v1/events/1/relationships/sponsors", "related": "/v1/events/1/sponsors"}}, "sessions": {"links": {"self": "/v1/events/1/relationships/sessions", "related": "/v1/events/1/sessions"}}, "organizers": {"links": {"self": "/v1/events/1/relationships/organizers", "related": "/v1/users"}}, "event-copyright": {"links": {"self": "/v1/events/1/relationships/event-copyright", "related": "/v1/events/1/event-copyright"}}, "tax": {"links": {"self": "/v1/events/1/relationships/tax", "related": "/v1/events/1/tax"}}, "event-topic": {"links": {"self": "/v1/events/1/relationships/event-topic", "related": "/v1/events/1/event-topic"}}, "social-links": {"links": {"self": "/v1/events/1/relationships/social-links", "related": "/v1/events/1/social-links"}}, "custom-forms": {"links": {"self": "/v1/events/1/relationships/custom-forms", "related": "/v1/events/1/custom-forms"}}}, "attributes": {"longitude": 85.3169502000001, "is-sessions-speakers-enabled": false, "ical-url": null, "privacy": "public", "onsite-details": null, "bank-details": null, "ticket-url": null, "starts-at": "2018-03-18T06:00:00+00:00", "is-tax-enabled": false, "average-rating": 3.89, "organizer-name": null, "can-pay-by-stripe": false, "can-pay-by-cheque": false, "thumbnail-image-url": null, "large-image-url": null, "state": "published", "can-pay-by-paypal": false, "xcal-url": null, "is-map-shown": true, "icon-image-url": null, "timezone": "America/Denver", "can-pay-onsite": false, "ends-at": "2018-03-18T23:00:12.609000+00:00", "location-name": "Bagmati Central Development Region 80 Nepal", "created-at": "2018-02-19T00:16:00.729773+00:00", "deleted-at": null, "payment-currency": "USD", "organizer-description": "", "has-organizer-info": false, "code-of-conduct": "", "schedule-published-on": null, "original-image-url": null, "cheque-details": null, "is-sponsors-enabled": false, "paypal-email": null, "name": "Kubernetes Workshop", "identifier": "25aa9a66", "pentabarf-url": null, "logo-url": null, "can-pay-by-bank": false, "external-event-url": null, "payment-country": null, "description": "", "is-ticketing-enabled": true, "searchable-location-name": null, "latitude": 27.6894932}, "id": "1", "links": {"self": "/v1/events/1"}}, {"type": "event", "relationships": {"faqs": {"links": {"self": "/v1/events/5/relationships/faqs", "related": "/v1/events/5/faqs"}}, "event-type": {"links": {"self": "/v1/events/5/relationships/event-type", "related": "/v1/events/5/event-type"}}, "session-types": {"links": {"self": "/v1/events/5/relationships/ 07-21 16:54:08.740 8023-8693/com.eventyay.attendee D/OkHttp: session-types", "related": "/v1/events/5/session-types"}}, "tickets": {"links": {"self": "/v1/events/5/relationships/tickets", "related": "/v1/events/5/tickets"}}, "microlocations": {"links": {"self": "/v1/events/5/relationships/microlocations", "related": "/v1/events/5/microlocations"}}, "feedbacks": {"links": {"self": "/v1/events/5/relationships/feedbacks", "related": "/v1/events/5/feedbacks"}}, "faq-types": {"links": {"self": "/v1/events/5/relationships/faq-types", "related": "/v1/events/5/faq-types"}}, "speakers-call": {"links": {"self": "/v1/events/5/relationships/speakers-call", "related": "/v1/events/5/speakers-call"}}, "event-sub-topic": {"links": {"self": "/v1/events/5/relationships/event-sub-topic", "related": "/v1/events/5/event-sub-topic"}}, "speakers": {"links": {"self": "/v1/events/5/relationships/speakers", "related": "/v1/events/5/speakers"}}, "coorganizers": {"links": {"self": "/v1/events/5/relationships/coorganizers", "related": "/v1/users"}}, "tracks": {"links": {"self": "/v1/events/5/relationships/tracks", "related": "/v1/events/5/tracks"}}, "ticket-tags": {"links": {"self": "/v1/events/5/relationships/ticket-tags", "related": "/v1/events/5/ticket-tags"}}, "sponsors": {"links": {"self": "/v1/events/5/relationships/sponsors", "related": "/v1/events/5/sponsors"}}, "sessions": {"links": {"self": "/v1/events/5/relationships/sessions", "related": "/v1/events/5/sessions"}}, "organizers": {"links": {"self": "/v1/events/5/relationships/organizers", "related": "/v1/users"}}, "event-copyright": {"links": {"self": "/v1/events/5/relationships/event-copyright", "related": "/v1/events/5/event-copyright"}}, "tax": {"links": {"self": "/v1/events/5/relationships/tax", "related": "/v1/events/5/tax"}}, "event-topic": {"links": {"self": "/v1/events/5/relationships/event-topic", "related": "/v1/events/5/event-topic"}}, "social-links": {"links": {"self": "/v1/events/5/relationships/social-links", "related": "/v1/events/5/social-links"}}, "custom-forms": {"links": {"self": "/v1/events/5/relationships/custom-forms", "related": "/v1/events/5/custom-forms"}}}, "attributes": {"longitude": 1.23456789, "is-sessions-speakers-enabled": true, "ical-url": null, "privacy": "public", "onsite-details": "example", "bank-details": "example", "ticket-url": "http://example.com", "starts-at": "2018-05-13T23:59:59.123000+00:00", "is-tax-enabled": true, "average-rating": null, "organizer-name": "Saurav Tiwary", "can-pay-by-stripe": true, "can-pay-by-cheque": true, "thumbnail-image-url": null, "large-image-url": null, "state": "published", "can-pay-by-paypal": true, "xcal-url": null, "is-map-shown": true, "icon-image-url": null, "timezone": "UTC", "can-pay-onsite": true, "ends-at": "2018-12-14T23:59:59.123000+00:00", "location-name": "example", "created-at": "2018-03-02T06:21:38.105686+00:00", "deleted-at": null, "payment-currency": "USD", "organizer-description": "example", "has-organizer-info": true, "code-of-conduct": "example", "schedule-published-on": null, "original-image-url": null, "cheque-details": "example", "is-sponsors-enabled": true, "paypal-email": "saurav007tiwary-facilitator@gmail.com", "name": "MAIN EVENT", "identifier": "3ea6d597", "pentabarf-url": null, "logo-url": "http://example.com/example.png", "can-pay-by-bank": true, "external-event-url": "http://example.com", "payment-country": "", "description": "example", "is-ticketing-enabled": true, "searchable-location-name": "example", "latitude": 1.23456789}, "id": "5", "links": {"self": "/v1/events/5"}}], "links": {"self": "/v1/orders?filter=%5B%7B%22name%22%3A%22payment-mode%22%2C%22op%22%3A%22eq%22%2C%22val%22%3A%22free%22%7D%5D&include=event"}, "meta": {"count": 5}, "jsonapi": {"version": "1.0"}} 07-21 16:54:08.740 8023-8693/com.eventyay.attendee D/OkHttp: <-- END HTTP (23710-byte body)