getReservation

On this page
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

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getReservation( projectName: "test-projectName", reservationName: "test-reservationName" /* optional arguments */ )