2017-02-22 31 views
0

目前在圖API API端點修補程序中,具有多個屬性的聯繫人附加信息使用以下網址失敗:是否可以在一個請求中更新0365個具有多個屬性的聯繫人擴展?

PATCH/users/{id | userPrincipalName}/contacts/{id}/extensions/{extensionId}

或者

PATCH /用戶/ {ID |的UserPrincipalName}/contactfolders/{ID} /聯繫人/ {ID} /擴展/ {的extensionID}

此前修補擴展數據時,你可以修補多個屬性您的extensionId的值如下:

{ 
"@odata.type": "Microsoft.OutlookServices.OpenTypeExtension", 
"extensionName": "Com.Contoso.Estimate", 
"companyName": "Contoso", 
"expirationDate": "2016-07-30T11:00:00.000Z", 
"DealValue": 1010100, 
"topPicks": [ 
    "Employees only", 
    "Add spouse or guest", 
    "Add family" 
    ] 
} 

參考網址:https://graph.microsoft.io/en-us/docs/api-reference/v1.0/api/opentypeextension_update

這個功能似乎已經改變,因爲昨天和下面的錯誤發生:

{ 
"error": { 
    "code": "BadRequest", 
    "message": "Cannot update multiple extensions in a request.", 
    "innerError": { 
    "request-id": "164fba2a-003f-40b6-97cd-0f139f23345d", 
    "date": "2017-02-21T20:57:03" 
    } 
    } 
} 

現在,您需要按照以下步驟執行多個呼叫:

{ 
    "@odata.type": "Microsoft.OutlookServices.OpenTypeExtension", 
    "extensionName": "Com.Contoso.Estimate", 
    "companyName": "Contoso" 
} 
… 
{ 
    "@odata.type": "Microsoft.OutlookServices.OpenTypeExtension", 
    "extensionName": "Com.Contoso.Estimate", 
    "expirationDate": "2016-07-30T11:00:00.000Z" 
} 
… 
{ 
    "@odata.type": "Microsoft.OutlookServices.OpenTypeExtension", 
    "extensionName": "Com.Contoso.Estimate", 
    "DealValue": 1010100 
} 
… 
{ 
    "@odata.type": "Microsoft.OutlookServices.OpenTypeExtension", 
    "extensionName": "Com.Contoso.Estimate", 
    "topPicks": [ 
     "Employees only", 
     "Add spouse or guest", 
     "Add family" 
    ] 
} 

最近,v1.0終端是否在此上下文中更改了其功能?

回答

0

這是一個僅影響Office 365數據擴展的臨時服務問題。這個問題已經確定並得到糾正。

相關問題