Looks up the all-day working location for a specified day. If no working location is set, returns NoLocation
.
HTTP request
POST https://calendaruseravailability.googleapis.com/v1alpha/{calendar=workinglocations/*}/day:read
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
calendar |
Required. The calendar where you want to read a working location. For example, |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"date": {
object ( |
Fields | |
---|---|
date |
Required. The date to query. |
Response body
If successful, the response body contains data with the following structure:
A day.read response.
JSON representation |
---|
{
"location": {
object ( |
Fields | |
---|---|
location |
The location. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/calendar.readonly
https://www.googleapis.com/auth/calendar.workinglocation
https://www.googleapis.com/auth/calendar.workinglocation.readonly
For more information, see the OAuth 2.0 Overview.