> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 予定詳細の取得

> ユーザーのカレンダーから予定IDに基づいて予定の詳細情報と参加者一覧を取得できます

本インターフェースを呼び出して、予定 ID に基づいて単一の予定詳細を取得します。

## リクエスト

### 基本情報

| フィールド        | 値                                                                                              |
| ------------ | ---------------------------------------------------------------------------------------------- |
| HTTP URL     | `https://api.dingtalk.io/v1.0/calendar/users/{userId}/calendars/{calendarId}/events/{eventId}` |
| HTTP Method  | GET                                                                                            |
| サポートするアプリタイプ | appType-社内アプリ　appType-サードパーティ社内アプリ　appType-サードパーティ個人アプリ                                        |
| 必要な権限        | permission-Calendar.Event.Read-カレンダーアプリの予定読み取り権限                                               |

### リクエストヘッダー

| 名前                          | タイプ    | 必須 | 説明                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| --------------------------- | ------ | -- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| x-acs-dingtalk-access-token | String | はい | 本インターフェース呼び出しのアクセス認証情報です。以下の方法で取得します。   - 社内アプリの場合は、[社内アプリの access\_token を取得する](/ja/open/development/obtain-the-access-token-of-an-internal-app#) インターフェースを呼び出して取得します。 - サードパーティ社内アプリの場合は、[サードパーティアプリで認可された企業の access\_token を取得する](https://open.dingtalk.com/document/development/obtain-the-access-token-of-the-authorized-enterprise-1#) インターフェースを呼び出して取得します。 - サードパーティ個人アプリの場合は、[ユーザートークンを取得する](/ja/open/development/obtain-user-token#) インターフェースを呼び出して取得します。 |

### パスパラメータ

| 名前         | タイプ    | 必須 | 説明                                                                                                                                                                                                                                                                                   |
| ---------- | ------ | -- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| userId     | String | はい | 予定が属するユーザーの unionId です。   - 社内アプリおよびサードパーティ社内アプリの場合は、[ユーザー詳細の取得](/ja/open/development/query-user-details#) インターフェースを呼び出して unionid パラメータ値を取得します。 - サードパーティ個人アプリの場合は、[ユーザーの連絡先プロフィール取得](/ja/open/development/dingtalk-retrieve-user-information#) インターフェースを呼び出して unionId パラメータ値を取得します。 |
| calendarId | String | はい | 予定が属するカレンダー ID です。`primary` で統一されており、ユーザーのメインカレンダーを表します。                                                                                                                                                                                                                             |
| eventId    | String | はい | 予定 ID です。[予定リストの取得](/ja/open/development/query-an-event-list#) インターフェースを呼び出して id パラメータ値を取得できます。                                                                                                                                                                                      |

### クエリパラメータ

| 名前           | タイプ  | 必須  | 説明                       |
| ------------ | ---- | --- | ------------------------ |
| maxAttendees | Long | いいえ | 最大参加人数。デフォルト 100、最大 500。 |

### リクエスト例

HTTP

```http theme={"theme":{"light":"github-light","dark":"github-dark"}}
GET /v1.0/calendar/users/iiiP35sJaxxxxRKgiEiF/calendars/primary/events/cnNTbW1YbUxxxxvdlQrQT09?maxAttendees=100 HTTP/1.1
Host:api.dingtalk.io
x-acs-dingtalk-access-token:dd43888xxx
Content-Type:application/json
```

Java

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sample;

import com.aliyun.tea.*;

public class Sample {

    /**
     * トークンを使用してアカウント Client を初期化します
     * @return Client
     * @throws Exception
     */
    public static com.aliyun.dingtalkcalendar_1_0.Client createClient() throws Exception {
        com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config();
        config.protocol = "https";
        config.regionId = "central";
        return new com.aliyun.dingtalkcalendar_1_0.Client(config);
    }

    public static void main(String[] args_) throws Exception {
        java.util.List<String> args = java.util.Arrays.asList(args_);
        com.aliyun.dingtalkcalendar_1_0.Client client = Sample.createClient();
        com.aliyun.dingtalkcalendar_1_0.models.GetEventHeaders getEventHeaders = new com.aliyun.dingtalkcalendar_1_0.models.GetEventHeaders();
        getEventHeaders.xAcsDingtalkAccessToken = "<your access token>";
        com.aliyun.dingtalkcalendar_1_0.models.GetEventRequest getEventRequest = new com.aliyun.dingtalkcalendar_1_0.models.GetEventRequest()
                .setMaxAttendees(100L);
        try {
            client.getEventWithOptions("iiiP35sJaxxxxRKgiEiF", "primary", "cnNTbW1YbUxxxxvdlQrQT09", getEventRequest, getEventHeaders, new com.aliyun.teautil.models.RuntimeOptions());
        } catch (TeaException err) {
            if (!com.aliyun.teautil.Common.empty(err.code) && !com.aliyun.teautil.Common.empty(err.message)) {
                // err には code と message 属性が含まれており、開発時の問題特定に役立ちます
            }

        } catch (Exception _err) {
            TeaException err = new TeaException(_err.getMessage(), _err);
            if (!com.aliyun.teautil.Common.empty(err.code) && !com.aliyun.teautil.Common.empty(err.message)) {
                // err には code と message 属性が含まれており、開発時の問題特定に役立ちます
            }

        }        
    }
}
```

Python

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
# -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
import sys

from typing import List

from alibabacloud_dingtalk.calendar_1_0.client import Client as dingtalkcalendar_1_0Client
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_dingtalk.calendar_1_0 import models as dingtalkcalendar__1__0_models
from alibabacloud_tea_util import models as util_models
from alibabacloud_tea_util.client import Client as UtilClient

class Sample:
    def __init__(self):
        pass

    @staticmethod
    def create_client() -> dingtalkcalendar_1_0Client:
        """
        トークンを使用してアカウント Client を初期化します
        @return: Client
        @throws Exception
        """
        config = open_api_models.Config()
        config.protocol = 'https'
        config.region_id = 'central'
        return dingtalkcalendar_1_0Client(config)

    @staticmethod
    def main(
        args: List[str],
    ) -> None:
        client = Sample.create_client()
        get_event_headers = dingtalkcalendar__1__0_models.GetEventHeaders()
        get_event_headers.x_acs_dingtalk_access_token = '<your access token>'
        get_event_request = dingtalkcalendar__1__0_models.GetEventRequest(
            max_attendees=100
        )
        try:
            client.get_event_with_options('iiiP35sJaxxxxRKgiEiF', 'primary', 'cnNTbW1YbUxxxxvdlQrQT09', get_event_request, get_event_headers, util_models.RuntimeOptions())
        except Exception as err:
            if not UtilClient.empty(err.code) and not UtilClient.empty(err.message):
                # err には code と message 属性が含まれており、開発時の問題特定に役立ちます
                pass

    @staticmethod
    async def main_async(
        args: List[str],
    ) -> None:
        client = Sample.create_client()
        get_event_headers = dingtalkcalendar__1__0_models.GetEventHeaders()
        get_event_headers.x_acs_dingtalk_access_token = '<your access token>'
        get_event_request = dingtalkcalendar__1__0_models.GetEventRequest(
            max_attendees=100
        )
        try:
            await client.get_event_with_options_async('iiiP35sJaxxxxRKgiEiF', 'primary', 'cnNTbW1YbUxxxxvdlQrQT09', get_event_request, get_event_headers, util_models.RuntimeOptions())
        except Exception as err:
            if not UtilClient.empty(err.code) and not UtilClient.empty(err.message):
                # err には code と message 属性が含まれており、開発時の問題特定に役立ちます
                pass

if __name__ == '__main__':
    Sample.main(sys.argv[1:])
```

PHP

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
<?php

// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Sample;

use AlibabaCloud\SDK\Dingtalk\Vcalendar_1_0\Dingtalk;
use \Exception;
use AlibabaCloud\Tea\Exception\TeaError;
use AlibabaCloud\Tea\Utils\Utils;

use Darabonba\OpenApi\Models\Config;
use AlibabaCloud\SDK\Dingtalk\Vcalendar_1_0\Models\GetEventHeaders;
use AlibabaCloud\SDK\Dingtalk\Vcalendar_1_0\Models\GetEventRequest;
use AlibabaCloud\Tea\Utils\Utils\RuntimeOptions;

class Sample {

    /**
     * トークンを使用してアカウント Client を初期化します
     * @return Dingtalk Client
     */
    public static function createClient(){
        $config = new Config([]);
        $config->protocol = "https";
        $config->regionId = "central";
        return new Dingtalk($config);
    }

    /**
     * @param string[] $args
     * @return void
     */
    public static function main($args){
        $client = self::createClient();
        $getEventHeaders = new GetEventHeaders([]);
        $getEventHeaders->xAcsDingtalkAccessToken = "<your access token>";
        $getEventRequest = new GetEventRequest([
            "maxAttendees" => 100
        ]);
        try {
            $client->getEventWithOptions("iiiP35sJaxxxxRKgiEiF", "primary", "cnNTbW1YbUxxxxvdlQrQT09", $getEventRequest, $getEventHeaders, new RuntimeOptions([]));
        }
        catch (Exception $err) {
            if (!($err instanceof TeaError)) {
                $err = new TeaError([], $err->getMessage(), $err->getCode(), $err);
            }
            if (!Utils::empty_($err->code) && !Utils::empty_($err->message)) {
                // err には code と message 属性が含まれており、開発時の問題特定に役立ちます
            }
        }
    }
}
$path = __DIR__ . \DIRECTORY_SEPARATOR . '..' . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php';
if (file_exists($path)) {
    require_once $path;
}
Sample::main(array_slice($argv, 1));
```

Go

```go theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it. Thanks.
package main

import (
  "os"
  util  "github.com/alibabacloud-go/tea-utils/v2/service"
  dingtalkcalendar_1_0  "github.com/alibabacloud-go/dingtalk/calendar_1_0"
  openapi  "github.com/alibabacloud-go/darabonba-openapi/v2/client"
  "github.com/alibabacloud-go/tea/tea"
)

/**
 * トークンを使用してアカウント Client を初期化します
 * @return Client
 * @throws Exception
 */
func CreateClient () (_result *dingtalkcalendar_1_0.Client, _err error) {
  config := &openapi.Config{}
  config.Protocol = tea.String("https")
  config.RegionId = tea.String("central")
  _result = &dingtalkcalendar_1_0.Client{}
  _result, _err = dingtalkcalendar_1_0.NewClient(config)
  return _result, _err
}

func _main (args []*string) (_err error) {
  client, _err := CreateClient()
  if _err != nil {
    return _err
  }

  getEventHeaders := &dingtalkcalendar_1_0.GetEventHeaders{}
  getEventHeaders.XAcsDingtalkAccessToken = tea.String("<your access token>")
  getEventRequest := &dingtalkcalendar_1_0.GetEventRequest{
    MaxAttendees: tea.Int64(100),
  }
  tryErr := func()(_e error) {
    defer func() {
      if r := tea.Recover(recover()); r != nil {
        _e = r
      }
    }()
    _, _err = client.GetEventWithOptions(tea.String("iiiP35sJaxxxxRKgiEiF"), tea.String("primary"), tea.String("cnNTbW1YbUxxxxvdlQrQT09"), getEventRequest, getEventHeaders, &util.RuntimeOptions{})
    if _err != nil {
      return _err
    }

    return nil
  }()

  if tryErr != nil {
    var err = &tea.SDKError{}
    if _t, ok := tryErr.(*tea.SDKError); ok {
      err = _t
    } else {
      err.Message = tea.String(tryErr.Error())
    }
    if !tea.BoolValue(util.Empty(err.Code)) && !tea.BoolValue(util.Empty(err.Message)) {
      // err には code と message 属性が含まれており、開発時の問題特定に役立ちます
    }

  }
  return _err
}

func main() {
  err := _main(tea.StringSlice(os.Args[1:]))
  if err != nil {
    panic(err)
  }
}
```

Node.js

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it
import Util, * as $Util from '@alicloud/tea-util';
import dingtalkcalendar_1_0, * as $dingtalkcalendar_1_0 from '@alicloud/dingtalk/calendar_1_0';
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
import * as $tea from '@alicloud/tea-typescript';

export default class Client {

  /**
   * トークンを使用してアカウント Client を初期化します
   * @return Client
   * @throws Exception
   */
  static createClient(): dingtalkcalendar_1_0 {
    let config = new $OpenApi.Config({ });
    config.protocol = "https";
    config.regionId = "central";
    return new dingtalkcalendar_1_0(config);
  }

  static async main(args: string[]): Promise<void> {
    let client = Client.createClient();
    let getEventHeaders = new $dingtalkcalendar_1_0.GetEventHeaders({ });
    getEventHeaders.xAcsDingtalkAccessToken = "<your access token>";
    let getEventRequest = new $dingtalkcalendar_1_0.GetEventRequest({
      maxAttendees: 100,
    });
    try {
      await client.getEventWithOptions("iiiP35sJaxxxxRKgiEiF", "primary", "cnNTbW1YbUxxxxvdlQrQT09", getEventRequest, getEventHeaders, new $Util.RuntimeOptions({ }));
    } catch (err) {
      if (!Util.empty(err.code) && !Util.empty(err.message)) {
        // err には code と message 属性が含まれており、開発時の問題特定に役立ちます
      }

    }    
  }

}

Client.main(process.argv.slice(2));
```

C#

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
// This file is auto-generated, don't edit it. Thanks.

using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;

using Tea;
using Tea.Utils;

namespace AlibabaCloud.SDK.Sample
{
    public class Sample 
    {

        /**
         * トークンを使用してアカウント Client を初期化します
         * @return Client
         * @throws Exception
         */
        public static AlibabaCloud.SDK.Dingtalkcalendar_1_0.Client CreateClient()
        {
            AlibabaCloud.OpenApiClient.Models.Config config = new AlibabaCloud.OpenApiClient.Models.Config();
            config.Protocol = "https";
            config.RegionId = "central";
            return new AlibabaCloud.SDK.Dingtalkcalendar_1_0.Client(config);
        }

        public static void Main(string[] args)
        {
            AlibabaCloud.SDK.Dingtalkcalendar_1_0.Client client = CreateClient();
            AlibabaCloud.SDK.Dingtalkcalendar_1_0.Models.GetEventHeaders getEventHeaders = new AlibabaCloud.SDK.Dingtalkcalendar_1_0.Models.GetEventHeaders();
            getEventHeaders.XAcsDingtalkAccessToken = "<your access token>";
            AlibabaCloud.SDK.Dingtalkcalendar_1_0.Models.GetEventRequest getEventRequest = new AlibabaCloud.SDK.Dingtalkcalendar_1_0.Models.GetEventRequest
            {
                MaxAttendees = 100,
            };
            try
            {
                client.GetEventWithOptions("iiiP35sJaxxxxRKgiEiF", "primary", "cnNTbW1YbUxxxxvdlQrQT09", getEventRequest, getEventHeaders, new AlibabaCloud.TeaUtil.Models.RuntimeOptions());
            }
            catch (TeaException err)
            {
                if (!AlibabaCloud.TeaUtil.Common.Empty(err.Code) && !AlibabaCloud.TeaUtil.Common.Empty(err.Message))
                {
                    // err には code と message 属性が含まれており、開発時の問題特定に役立ちます
                }
            }
            catch (Exception _err)
            {
                TeaException err = new TeaException(new Dictionary<string, object>
                {
                    { "message", _err.Message }
                });
                if (!AlibabaCloud.TeaUtil.Common.Empty(err.Code) && !AlibabaCloud.TeaUtil.Common.Empty(err.Message))
                {
                    // err には code と message 属性が含まれており、開発時の問題特定に役立ちます
                }
            }
        }

    }
}
```

python2

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
# -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from __future__ import unicode_literals

import sys

from alibabacloud_dingtalkcalendar_1_0.client import Client as dingtalkcalendar_1_0Client
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_dingtalkcalendar_1_0 import models as dingtalkcalendar__1__0_models
from alibabacloud_tea_util import models as util_models
from alibabacloud_tea_util.client import Client as UtilClient

class Sample(object):
    def __init__(self):
        pass

    @staticmethod
    def create_client():
        """
        トークンを使用してアカウント Client を初期化します

        @return: Client
        @throws Exception
        """
        config = open_api_models.Config()
        config.protocol = 'https'
        config.region_id = 'central'
        return dingtalkcalendar_1_0Client(config)

    @staticmethod
    def main(args):
        client = Sample.create_client()
        get_event_headers = dingtalkcalendar__1__0_models.GetEventHeaders()
        get_event_headers.x_acs_dingtalk_access_token = '<your access token>'
        get_event_request = dingtalkcalendar__1__0_models.GetEventRequest(
            max_attendees=100
        )
        try:
            client.get_event_with_options('iiiP35sJaxxxxRKgiEiF', 'primary', 'cnNTbW1YbUxxxxvdlQrQT09', get_event_request, get_event_headers, util_models.RuntimeOptions())
        except Exception as err:
            if not UtilClient.empty(err.code) and not UtilClient.empty(err.message):
                # err には code と message 属性が含まれており、開発時の問題特定に役立ちます
                pass

if __name__ == '__main__':
    Sample.main(sys.argv[1:])
```

Swift

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
#!/usr/bin/env xcrun swift

import Cocoa
import Foundation
import Tea
import TeaUtils
import AlibabacloudDingtalkcalendar10
import AlibabacloudOpenApi

open class Client {
    public static func createClient() throws -> AlibabacloudDingtalkcalendar10.Client {
        var config: AlibabacloudOpenApi.Config = AlibabacloudOpenApi.Config([:])
        config.protocol_ = "https"
        config.regionId = "central"
        return AlibabacloudDingtalkcalendar10.Client(config)
    }

    @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
    public static func main(_ args: [String]?) async throws -> Void {
        var client: AlibabacloudDingtalkcalendar10.Client = try Client.createClient()
        var getEventHeaders: AlibabacloudDingtalkcalendar10.GetEventHeaders = AlibabacloudDingtalkcalendar10.GetEventHeaders([:])
        getEventHeaders.xAcsDingtalkAccessToken = "<your access token>"
        var getEventRequest: AlibabacloudDingtalkcalendar10.GetEventRequest = AlibabacloudDingtalkcalendar10.GetEventRequest([
            "maxAttendees": 100
        ])
        do {
            try await client.getEventWithOptions("iiiP35sJaxxxxRKgiEiF", "primary", "cnNTbW1YbUxxxxvdlQrQT09", getEventRequest as! AlibabacloudDingtalkcalendar10.GetEventRequest, getEventHeaders as! AlibabacloudDingtalkcalendar10.GetEventHeaders, TeaUtils.RuntimeOptions([:]))
        }
        catch {
            if error is Tea.TeaError {
                var err = error as! Tea.TeaError
                if (!TeaUtils.Client.empty(err.code) && !TeaUtils.Client.empty(err.message)) {
                }
            } else {
                throw error
            }
        }
    }
}

Client.main(CommandLine.arguments)
```

## レスポンス

### レスポンスボディ

| 名前                  | タイプ     | 説明                                                                                                                                                                                                                                                                           |
| ------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id                  | String  | 予定 ID。                                                                                                                                                                                                                                                                       |
| summary             | String  | 予定の見出し。                                                                                                                                                                                                                                                                      |
| description         | String  | 予定の説明。                                                                                                                                                                                                                                                                       |
| status              | String  | 予定のステータス。   - **confirmed**：正常 - **cancelled**：キャンセル済み                                                                                                                                                                                                                       |
| start               | Object  | 予定の開始時間。                                                                                                                                                                                                                                                                     |
| date                | String  | 予定の開始日付。形式：yyyy-MM-dd。    - 終日予定では必須 - 終日以外の予定では空欄必須                                                                                                                                                                                                                         |
| dateTime            | String  | 予定の開始時間。形式は ISO-8601 の date-time 形式。    - 終日予定では空欄必須 - 終日以外の予定では必須                                                                                                                                                                                                           |
| timeZone            | String  | 予定の開始時間が属するタイムゾーン。TZ database name 形式。    - 終日予定では空欄必須 - 終日以外の予定では必須                                                                                                                                                                                                         |
| originStart         | Object  | 繰り返しシーケンスにおいて最初に作成されたときの開始時間を表します。    通常の単一予定では本属性を返しません。                                                                                                                                                                                                                    |
| dateTime            | String  | 日付と時間情報を ISO 8601 形式で表記し、常に UTC を採用します。例：`2023 年 1 月 1 日午前 0 時 UTC は 2023-01-01T00:00:00Z`。                                                                                                                                                                                  |
| end                 | Object  | 予定の終了時間。                                                                                                                                                                                                                                                                     |
| date                | String  | 予定の終了日付。形式：yyyy-MM-dd。    - 終日予定では必須 - 終日以外の予定では空欄必須                                                                                                                                                                                                                         |
| dateTime            | String  | 予定の終了時間。形式は ISO-8601 の date-time 形式。    - 終日予定では空欄必須 - 終日以外の予定では必須                                                                                                                                                                                                           |
| timeZone            | String  | 予定の終了時間が属するタイムゾーン。開始時間が属するタイムゾーンと同一である必要があります。TZ database name 形式。    - 終日予定では空欄必須 - 終日以外の予定では必須                                                                                                                                                                             |
| isAllDay            | Boolean | 終日予定かどうか。   - **true**：はい - **false**：いいえ                                                                                                                                                                                                                                    |
| recurrence          | Object  | 予定の繰り返しルール。                                                                                                                                                                                                                                                                  |
| pattern             | Object  | 繰り返しパターン。                                                                                                                                                                                                                                                                    |
| type                | String  | 繰り返しルールのタイプ。   - **daily**：`interval` 日ごとに繰り返す - **weekly**：`interval` 週ごとの `daysOfWeek` 曜日に繰り返す - **absoluteMonthly**：`interval` か月ごとの `dayOfMonth` 日に繰り返す - **relativeMonthly**：`interval` か月ごとの第 `index` 週の `daysOfWeek` 曜日に繰り返す - **absoluteYearly**：`interval` 年ごとに繰り返す |
| dayOfMonth          | Integer | `type=absoluteMonthly` の場合に、毎月の何日目かを指定します。                                                                                                                                                                                                                                   |
| daysOfWeek          | String  | 英語小文字の単語で曜日を指定します。複数の値がある場合はカンマで区切ります。                                                                                                                                                                                                                                       |
| index               | String  | `type=relativeMonthly` の場合に、毎月の第何週かを指定します。   - **first** - **second** - **third** - **fourth** - **last**   ここで `last` は当月の最終週を表します。                                                                                                                                         |
| interval            | Integer | 繰り返し間隔。type によって単位が異なります。例えば `type=daily` の場合は N 日間隔、`type=absoluteYearly` の場合は N 年間隔を表します。                                                                                                                                                                                  |
| firstDayOfWeek      | String  | 週の開始曜日。指定可能な値：sunday、monday、tuesday、wednesday、thursday、friday、saturday。デフォルト値は「sunday」です。                                                                                                                                                                                    |
| range               | Object  | 繰り返し範囲。                                                                                                                                                                                                                                                                      |
| type                | String  | 繰り返し範囲のタイプ。   - **noEnd**：終了しない - **endDate**：指定日付まで繰り返して終了 - **numbered**：指定回数繰り返して終了                                                                                                                                                                                       |
| endDate             | String  | 繰り返し終了時間。                                                                                                                                                                                                                                                                    |
| numberOfOccurrences | Integer | 繰り返し回数。                                                                                                                                                                                                                                                                      |
| attendees           | Array   | 参加者リスト。                                                                                                                                                                                                                                                                      |
| id                  | String  | ユーザーの unionId。                                                                                                                                                                                                                                                               |
| displayName         | String  | ユーザー名。                                                                                                                                                                                                                                                                       |
| responseStatus      | String  | 返信ステータス。                                                                                                                                                                                                                                                                     |
| self                | Boolean | 現在ログイン中のユーザーかどうか。   - **true**：はい - **false**：いいえ                                                                                                                                                                                                                            |
| isOptional          | Boolean | 任意参加者かどうか。   - **true**：はい - **false**：いいえ                                                                                                                                                                                                                                   |
| organizer           | Object  | 主催者。                                                                                                                                                                                                                                                                         |
| id                  | String  | 主催者の unionId。                                                                                                                                                                                                                                                                |
| displayName         | String  | ユーザー名。                                                                                                                                                                                                                                                                       |
| responseStatus      | String  | 返信ステータス。                                                                                                                                                                                                                                                                     |
| self                | Boolean | 現在ログイン中のユーザーかどうか。   - **true**：はい - **false**：いいえ                                                                                                                                                                                                                            |
| location            | Object  | 予定の場所に関する情報。                                                                                                                                                                                                                                                                 |
| displayName         | String  | 予定の場所名。                                                                                                                                                                                                                                                                      |
| seriesMasterId      | String  | 繰り返し予定のマスター予定 ID。非繰り返し予定の場合は空です。                                                                                                                                                                                                                                             |
| createTime          | String  | 作成時間。                                                                                                                                                                                                                                                                        |
| updateTime          | String  | 更新時間。                                                                                                                                                                                                                                                                        |
| reminders           | Array   | 通知時間を選択                                                                                                                                                                                                                                                                      |
| method              | String  | 通知方式。                                                                                                                                                                                                                                                                        |
| minutes             | String  | 予定開始時の N 分前に通知を発します。                                                                                                                                                                                                                                                         |
| onlineMeetingInfo   | Object  | オンライン会議。                                                                                                                                                                                                                                                                     |
| type                | String  | オンライン会議タイプ。現在サポート：   - **dingtalk**：DingTalk ビデオ会議                                                                                                                                                                                                                           |
| conferenceId        | String  | 会議 ID。                                                                                                                                                                                                                                                                       |
| url                 | String  | 参加用 URL アドレス。                                                                                                                                                                                                                                                                |
| extraInfo           | Map     | その他の拡張情報。                                                                                                                                                                                                                                                                    |
| extendedProperties  | Object  | 予定の拡張属性。                                                                                                                                                                                                                                                                     |
| sharedProperties    | Object  | 共有属性。                                                                                                                                                                                                                                                                        |
| sourceOpenCid       | String  | 予定が特定のグループ内から発起された場合、このフィールドは予定発起の追加元グループを表します。                                                                                                                                                                                                                              |
| belongCorpId        | String  | 予定が帰属する企業の組織 ID。                                                                                                                                                                                                                                                             |
| meetingRooms        | Array   | 会議室を追加。                                                                                                                                                                                                                                                                      |
| roomId              | String  | 会議室の roomId。                                                                                                                                                                                                                                                                 |
| responseStatus      | String  | 会議室のレスポンスステータス。   - **accepted**：承諾 - **tentative**：承認中 - **declined**：承認却下                                                                                                                                                                                                  |
| displayName         | String  | 会議室名。                                                                                                                                                                                                                                                                        |
| categories          | Array   | 予定タイプ。                                                                                                                                                                                                                                                                       |
| displayName         | String  | 予定タイプ名。                                                                                                                                                                                                                                                                      |
| richTextDescription | Object  | リッチテキスト説明。                                                                                                                                                                                                                                                                   |
| text                | String  | リッチテキスト説明コンテンツ。                                                                                                                                                                                                                                                              |

### レスポンスボディ例

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
HTTP/1.1 200 OK
Content-Type:application/json

{
  "id" : "iiiP35sJxxxxPRKgiEiF",
  "summary" : "test event",
  "description" : "something about this event",
  "status" : "confirmed",
  "start" : {
    "date" : "2020-01-01",
    "dateTime" : "2020-01-01T10:15:30+08:00",
    "timeZone" : "Asia/Shanghai"
  },
  "originStart" : {
    "dateTime" : "2023-01-01T00:00:00Z"
  },
  "end" : {
    "date" : "2020-01-01",
    "dateTime" : "2020-01-01T10:15:30+08:00",
    "timeZone" : "Asia/Shanghai"
  },
  "isAllDay" : false,
  "recurrence" : {
    "pattern" : {
      "type" : "daily",
      "dayOfMonth" : 14,
      "daysOfWeek" : "monday",
      "index" : "first",
      "interval" : 1
    },
    "range" : {
      "type" : "noEnd",
      "endDate" : "2020-01-01T10:15:30+08:00",
      "numberOfOccurrences" : 5
    }
  },
  "attendees" : [ {
    "id" : "iiiP35sJxxxxPRKgiEiF",
    "displayName" : "jack",
    "responseStatus" : "accepted",
    "self" : false,
    "isOptional" : false
  } ],
  "organizer" : {
    "id" : "iiiP35sJxxxxPRKgiEiF",
    "displayName" : "tony",
    "responseStatus" : "accepted",
    "self" : false
  },
  "location" : {
    "displayName" : "room 1-2-3",
    "meetingRooms" : [ "会議室" ]
  },
  "seriesMasterId" : "cnNTbW1YbxxxxvdlQrQT09",
  "createTime" : "2020-01-01T10:15:30+08:00",
  "updateTime" : "2020-01-01T10:15:30+08:00",
  "reminders" : [ {
    "method" : "dingtalk",
    "minutes" : "15"
  } ],
  "onlineMeetingInfo" : {
    "type" : "dingtalk",
    "conferenceId" : "5c4df21d-xxxx-a6db402b9f3a",
    "url" : "dingtalk://dingtalkclient/page/videoxxxxalendar?confId=5c4df21d-xxxx9f3f&calendarId=127xxxx124"
  },
  "extendedProperties" : {
    "sharedProperties" : {
      "sourceOpenCid" : "zxcvasdfvb123====",
      "belongCorpId" : "dingd*****1231231"
    }
  },
  "meetingRooms" : [ {
    "roomId" : "c10315a8b4e740a317813ab6fxxxxxx",
    "responseStatus" : "accepted",
    "displayName" : "第1会議室"
  } ],
  "categories" : [ {
    "displayName" : "週次ミーティング"
  } ]
}
```

### エラーコード

本インターフェース呼び出し時にエラーが発生した場合は、エラーメッセージに基づいて [グローバルエラーコード](/ja/open/development/server-api-error-codes-1) ドキュメントで解決策を検索してください。

| HttpCode | エラーコード           | エラーメッセージ            | 説明                  |
| -------- | ---------------- | ------------------- | ------------------- |
| 400      | invalidParameter | forwardErrorMessage | パラメータエラー            |
| 404      | instanceNotExist | instance not exist  | 繰り返し予定インスタンスが存在しません |
| 404      | itemNotFound     | forwardErrorMessage | 指定された予定が見つかりません     |
