orchestrator
2020.10
false
- 基本情報
- Swagger の定義
- Orchestrator API
カレンダーの要求
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
サポート対象外
Orchestrator API ガイド
カレンダーの要求
The following GET request to the
/odata/Calendars
endpoint retrieves a specific calendar based on its Name
.
GET
{OrchestratorURL}/odata/Calendars?$filter=Name%20eq%20'BankHoliday'
{
"@odata.context": "{OrchestratorURL}/odata/$metadata#Calendars",
"value": [
{
"TimeZoneId": null,
"ExcludedDates": [],
"Name": "BankHoliday",
"Id": 18845
}
]
}
{
"@odata.context": "{OrchestratorURL}/odata/$metadata#Calendars",
"value": [
{
"TimeZoneId": null,
"ExcludedDates": [],
"Name": "BankHoliday",
"Id": 18845
}
]
}
The following POST request to the
/odata/Calendars
endpoint enables you to create a new calendar with an excluded date.
Note: The
Id
parameter is automatically generated. The TimeZoneId
parameter is populated with the tenant's timezone.
POST
{OrchestratorURL}/odata/Calendars
{
"Name": "VacationCal",
"TimeZoneId": "string",
"ExcludedDates": [
"2019-11-12T14:31:44.778Z"
]
}
{
"Name": "VacationCal",
"TimeZoneId": "string",
"ExcludedDates": [
"2019-11-12T14:31:44.778Z"
]
}
{
"@odata.context": "{OrchestratorURL}/odata/$metadata#Calendars/$entity",
"TimeZoneId": "GTB Standard Time",
"ExcludedDates": [
"2019-11-12T00:00:00Z"
],
"Name": "VacationCal",
"Id": 32718
}
{
"@odata.context": "{OrchestratorURL}/odata/$metadata#Calendars/$entity",
"TimeZoneId": "GTB Standard Time",
"ExcludedDates": [
"2019-11-12T00:00:00Z"
],
"Name": "VacationCal",
"Id": 32718
}