getReservation

Back to index

Summary

Retrieves an environment reservation by its name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
reservationName
Stringrequired
The name of the environment reservation.
beginDate
Stringoptional
Date of beginning reservation.
endDate
Stringoptional
The date when reservation event ends.
includeTimeslots
Booleanoptional
Include timeslots in reservation response.
timeZone
Stringoptional
The time zone to use when interpreting times.

Usage

Perl

$cmdr->getReservation( "test-projectName", # projectName "test-reservationName" # reservationName # optionals );

ectool

ectool getReservation \ "test-projectName" `# projectName` \ "test-reservationName" `# reservationName` \ # optionals

Examples

Perl

$cmdr->getReservation("Default", "Main branch", {includeTimeslots => true, timeZone => "local"} );

ectool

ectool getReservation "Default" "Main branch" --includeTimeslots true --timeZone "local"