Get Reservations

This task retrieves all the reservations made on a folder or asset and returns an array after execution.

main

Media selector or asset path
This is the path of the asset or the media selector of the reservations to recover.

eg : get reservations output object:


    [
      {
        "ReservedBy": a_reservation.ReservedBy,
        "ExpirationDate": a_reservation.ExpirationDate,
        "ReservedAsset": a_reservation.ReservedAsset
      },
      {

        "ReservedBy": b_reservation.ReservedBy,
        "ExpirationDate": b_reservation.ExpirationDate,
        "ReservedAsset": b_reservation.ReservedAsset
      }
    ]