ssossossossosso

Forums

Forums OroCRM OroCRM – How do I? Questions CalendarEvent API, GET and POST

This topic contains 2 replies, has 2 voices, and was last updated by  zhex900 4 months, 2 weeks ago.

  • Creator
    Topic
  • #26582

    zhex900
    Participant

    Hi,
    I am using API sandbox to search for events of a date. But it gives 400 Bad Request.

    Database shows this event
    carlendar id: 8
    start: 2017-09-01 00:00:00

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #26583

    Hi.

    Api controller for calendar events has limitation. There are two way to get calendar events.
    First, it is filter by fields ‘start‘ and ‘end‘ and both values are required.
    Second, it is filter by filed ‘page‘ and ‘limit‘ and both values also are required.

    In your case you need to add value in field ‘end’ to get correct response.

    #26584

    zhex900
    Participant

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.