Out of Office API Parameters
OutOfOfficeDTO. The OutOfOfficeDTO contains the information needed to create an out of office entry. global with sharing class OutOfOfficeDTO { /** * Id of the out of office record. * Required for up…
Updated
by Simon Maskell
This feature is available on the Advanced & Unlimited Tiers. Learn more
OutOfOfficeDTO
The OutOfOfficeDTO contains the information needed to create an out of office entry.
global with sharing class OutOfOfficeDTO {
/**
* Id of the out of office record.
* Required for update
*/
global Id outOfOfficeId;
/**
* 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