HostedSuite

<back to all web services

ListReservationsRequest

Retrieve a list of reservations for the specified date range

The following routes are available for this service:
POST/api/scheduling/reservations
ListReservationsRequest Parameters:
NameParameterData TypeRequiredDescription
MeetingRoomIdsbodyList<string>NoSpecific meeting rooms. Leave blank for all
CenterIdbodystringNoSpecify a center. Leave blank for all
ClientIdbodystringNoSpecify a client ID. Leave blank for all
StartTimebodystringNoStart of date range
EndTimebodystringNoEnd of date range
StatusbodyReservationStatuses?NoFilter by reservation status or null to not filter
PaymentStatusbodyPaymentStatus?NoFilter by reservation payment status or null to not filter
LastModifiedAfterbodystringNoFilter by only reservations that were modified after the specified date
LastModifiedBeforebodystringNoFilter by only reservations that were modified before the specified date
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
CustomerNameformstringYesThe HostedSuite Customer Name
UserNameformstringYesThe HostedSuite User Name. Data visibility and security is based on this user's permissions.
PasswordformstringYesThe HostedSuite User's Password
ReservationStatuses Enum:
Scheduled
Cancelled
PendingApproval
Denied
PaymentStatus Enum:
None
NotPaid
PartiallyPaid
Overdue
Paid
Included
Cancelled
NoCharge
Confirmed
BillOther
Other

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/scheduling/reservations HTTP/1.1 
Host: evo.hostedsuite.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	MeetingRoomIds: 
	[
		String
	],
	CenterId: String,
	ClientId: String,
	StartTime: String,
	EndTime: String,
	Status: Scheduled,
	PaymentStatus: None,
	LastModifiedAfter: String,
	LastModifiedBefore: String,
	CustomerName: String,
	UserName: String,
	Password: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		Id: String,
		EntityStatus: String,
		CenterId: String,
		CenterName: String,
		CenterAddress: String,
		MeetingRoomId: String,
		MeetingRoomName: String,
		StartTime: String,
		EndTime: String,
		Subject: String,
		Status: String,
		Notes: String,
		PaymentStatus: String,
		ClientId: String,
		ClientName: String,
		IsRecurring: False,
		OriginalDate: String,
		DateLastModified: String,
		LastModifiedBy: String,
		Attendees: 
		[
			{
				Name: String,
				EmailAddress: String
			}
		],
		NumAttendees: 0,
		Organizer: 
		{
			Name: String,
			EmailAddress: String
		},
		CustomFields: 
		[
			{
				Name: String,
				Value: String
			}
		]
	}
]