Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Overview

Request for User Bookings based on date.

This will return the user's bookings based date.

Details

Type

POST

Endpoint

{{url}}/api/User/Bookings

Request

The request will have five valid parameters.

The userId or emailAddress can be used; at least one is required.
The date is optional and used to find the user's status for a future day; if not included the current date should be used.

Example

{
  "userId": 13,
  "emailAddress": "charlotte.hill@email.com",
  "date": "dd/MM/yyyy"
}

Response

The response will include the user's bookings.

Example

{
  "userId": 13,
  "EmailAddress": "charlotte.hill@email.com",
  "date": "yyyy/MM/DD",
  "Bookings": [
    {
      "per": 0,
      "BookId": "401006",
      "AllDay": 0,
      "Subject": "Anonymous Booking",
      "Organizer": "Charlotte Hill",
      "OrganizerEmail": "charlotte.hill@email.com",
      "BookedUser": "Charlotte Hill",
      "StartTime": "2023-11-24T12:22:57",
      "EndTime": "2023-11-24T12:52:57",
      "BookedBy": 13,
      "ResId": 0,
      "RecurringOption": "",
      "MeetingStatus": "Session in Progress"
    }
  ]
}

User case

This API will be used for the schedule view to display current bookings for selected users.

https://www.figma.com/file/PYl87VrybgtPIqMQr34kJ6/RX-Outlook-Add-in?type=design&node-id=493%3A52146&mode=dev&t=2EFMCPGXmlxK4Yme-1

  • No labels