如何通过使用EWS托管API获取更新联系人的唯一ID(ItemId) [英] How to get Unique Id(ItemId) to Update Contacts By using EWS Managed API

查看:83
本文介绍了如何通过使用EWS托管API获取更新联系人的唯一ID(ItemId)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的任务是编写Api并将其提交给PHP团队(他们需要在他们的应用程序中使用该Api)来管理联系人和日历事件。

使用EWS Managed API 2.0来创建联系人。它工作正常。但我也想更新并删除现有的联系人。我读了msdn链接

http://msdn.microsoft .com / library / office / ee693002(v = exchg.80).aspx [ ^ ]

i发现我需要特定的唯一标识符(ItemId)来更新特定联系人。



如何在创建联系人时获得该唯一ID?

我没有在我的数据库中存储该联系人详细信息?是否需要在我的SQl数据库中存储由PHP应用程序发送的联系人详细信息?





我处于初始阶段,请分享你的想法

Hi,
My task is to write Api and Submit it to PHP team(they need to consume that Api in their Application) to manage Contacts and Calender Events .
for that iam using the EWS Managed API 2.0 to create Contact. It works fine. But i want to Update and delete an existing Contact, too. i read msdn link
http://msdn.microsoft.com/library/office/ee693002(v=exchg.80).aspx[^]
i find that i need specific Unique identifier(ItemId) to update specific contact.

How can i get that Unique Id?
while creating contacts i am not storing that contact details in my Database? Is there need to store Contact details in my SQl Database that are sent by PHP Application?


I am in initial stage, please share your Ideas

推荐答案

从底部的链接中有一些事物的样本。请参阅此有关如何获取联系人的信息, http:// msdn .microsoft.com / zh-CN / library / office / jj220498(v = exchg.80).aspx [ ^ ]。



此外,< a href =http://msdn.microsoft.com/en-US/library/office/ee693004(v=exchg.80).aspx> http://msdn.microsoft.com/en-US/library/ office / ee693004(v = exchg.80).aspx [ ^ ]也链接到EWS的主页, http://msdn.microsoft.com/library/53553207-ff98-4fdb-8716-4ae02fee83bf [ ^ ]



基本上,所有的文件都在那里。您可能需要稍微查看一下。
From a link at the bottom there are some samples of things. Refer to this one on how to get contacts, http://msdn.microsoft.com/en-US/library/office/jj220498(v=exchg.80).aspx[^].

Also, http://msdn.microsoft.com/en-US/library/office/ee693004(v=exchg.80).aspx[^] which also links to the main page for EWS, http://msdn.microsoft.com/library/53553207-ff98-4fdb-8716-4ae02fee83bf[^]

Essentially, all the documentation is there. You just might need to look around a little bit.


这篇关于如何通过使用EWS托管API获取更新联系人的唯一ID(ItemId)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆