Out of Office API Parameters

Simon Maskell Updated by Simon Maskell

OutOfOfficeDTO

The OutOfOfficeDTO contains the information needed to create an out of office entry.

global with sharing class OutOfOfficeDTO {

/**
* The start date of the out of office.
* Required.
*/
global Date startDate;

/**
* The start time of the out of office.
* Optional, if not provided the start of the out of office will be the beginning of day.
*/
global Time startTime;

/**
* The end date of the out of office
* Required.
*/
global Date endDate;

/**
* The end time of the out of office.
* Optional, if not provided the end of the out of office will be the end of the day.
*/
global Time endTime;

/**
* The reason for the out of office. Maximum length is 80 characters.
* Required.
*/
global String reason;

/**
* The timezone the out of office is in. It needs to be a valid Salesforce timezone id, for example "America/Los_Angeles"
* Required.
*/
global String timezone;

}

How did we do?

Out of Office API

Contact