2016-09-05 16 views

答えて

0

データ拡張APIを使用して、カスタムデータをメッセージ、イベント、またはユーザーのアカウントの連絡先に格納できます。

POST: https://outlook.office.com/api/v2.0/me/events 
authorization: bearer {token} 
content-type: application/json 

{ 
"Subject": "Discuss the Calendar REST API", 
    "Body": { 
    "ContentType": "HTML", 
    "Content": "I think it will meet our requirements!" 
    }, 
    "Start": { 
     "DateTime": "2016-09-06T18:00:00", 
     "TimeZone": "Pacific Standard Time" 
    }, 
    "End": { 
     "DateTime": "2016-09-06T18:00:00", 
     "TimeZone": "Pacific Standard Time" 
    }, 

    "Extensions": [ 
    { 
     "@odata.type": "Microsoft.OutlookServices.OpenTypeExtension", 
     "ExtensionName": "Com.Contoso.Referral", 
     "CompanyName": "Wingtip Toys", 
     "ExpirationDate": "2015-12-30T11:00:00.000Z", 
     "DealValue": 10000, 
     "TopModels": [ 
     3001, 
     4002, 
     5003 
     ], 
     "TopSalespersons": [ 
     "Dana Swope", 
     "Fanny Downs", 
     "Randi Welch" 
     ] 
    }] 

} 

が存在するオブジェクトの拡張子を取得します:このAPIについて

GET https://outlook.office.com/api/v2.0/me/events/{eventId}/extensions('{extensionId}') 
GET https://outlook.office.com/api/v2.0/me/events/{eventId}/extensions('Microsoft.OutlookServices.OpenTypeExtension.Com.Contoso.Referral') 

より詳細な情報を、あなたはhereを参照することができます。ここ

は、予定を作成するときに拡張子を作成するための一例です。

関連する問題