elegault / BCMMigrationAssistant

Tool to migrate data from Microsoft Outlook Business Contact Manager to Outlook Customer Manager (Office 365)
MIT License
3 stars 1 forks source link

Beta API Docs? #6

Open joshbooker opened 6 years ago

joshbooker commented 6 years ago

Hi Eric,

Great tool! How did you find documentation on the Outlook beta API for OCM?

Is there any docs on the /XrmXXX endpoints? and the extended properties required by OCM?

Thanks in advance.

Josh

elegault commented 6 years ago

Hi Josh, There is no documentation yet I'm afraid. I've been working directly with the OCM team so they've given me the know-how. I do plan on writing some blog posts soon. Otherwise you may be able to reverse engineer how things work by looking at the code - focus on the *Helper classes.

joshbooker commented 6 years ago

Thanks Eric for your reply. I gathered as much. A quick list of endpoints with required extension props would be real nice. I’ll keep plugging around your helpers.

joshbooker commented 6 years ago

Ps perhaps your OCM contacts have a preview swagger.json describing the service endpoints?

elegault commented 6 years ago

I honestly haven't dealt with swagger.json files before/yet, so I haven't a clue what you're talking about. The endpoints are a mix of https://outlook.office.com/api/v2.0/me and https://outlook.office.com/api/beta/Me. Most calls are simply using Graph to create Contact items with some SingleValueExtendedProperties and various sets of JSON properties serialized from various classes. But there's a lot of special OCM things that have to be done. It really will require a series of blog posts to get it all out of my head as I imagine the code will be difficult to follow.