Hi Kanapriya,

This approach looks good. It'll not be practical to support all the entity
types and there also can be custom fields.

On Fri, May 19, 2017 at 11:33 AM, Kanapriya Kuleswararajan <
[email protected]> wrote:

> Hi All,
>
> In MicrosoftDynamicCRM, there is a method to create [1], update, delete
> entities and etc. But each entity has different or dynamic set of
> parameters [2].
>
> Due to that , Now I'm planning to implement the connector by getting the
> entity type and required payload for that specific entity from the user.
>
> [1] https://msdn.microsoft.com/en-us/library/gg328090.aspx#bkmk_
> basicCreate
> [2] https://msdn.microsoft.com/en-us/library/mt607894.aspx#bkmk_Properties
>
> Any concern on this?
>
> Thanks
> Kanapriya
>
> Kanapriya Kuleswararajan
> Software Engineer | WSO2
> Mobile : - 0774894438 <077%20489%204438>
> Mail : - [email protected]
> LinkedIn : - https://www.linkedin.com/in/kanapriya-kules-94712685/
> <https://www.linkedin.com/in/hariprasath-thanarajah-5234b660>
>
> On Wed, May 17, 2017 at 2:46 PM, Kanapriya Kuleswararajan <
> [email protected]> wrote:
>
>> Hi All,
>>
>> I have planned to implement a Microsoft Dynamics Customer Relationship
>> Management (CRM) connector with the following Methods [1] for initial
>> version.
>>
>> Microsoft Dynamics CRM [2]  is now known as Microsoft Dynamics 365 for
>> Sales, Marketing, and Service. The Web API [3] which is new for Microsoft
>> Dynamics 365 (online & on-premises), provides a development experience that
>> can be used across a wide variety of programming languages, platforms, and
>> devices. The Web API implements the OData (Open Data Protocol), version
>> 4.0, an OASIS standard for building and consuming RESTful APIs over rich
>> data sources.
>> Here We have to register a Dynamics 365 app with Azure Active Directory
>> as mentioned in [4]
>> ( ie, The user must have a Microsoft Dynamics 365 (online) system user
>> account with administrator role for the Microsoft Office 365 subscription).
>> So that it can connect to the Microsoft Dynamics 365 server, authenticate
>> using OAuth [5], and access the web services.
>>
>> [1]
>>
>>    - Create - This example creates a new account entity. The response
>>    OData-EntityId header contains the Uri of the created entity.
>>    - Associate entities on create - To associate new entities to
>>    existing entities when they are created and need to set the value of
>>    single-valued navigation properties using the @odata.bind annotation.
>>    - Create with data returned - All the data from the created record
>>    will be returned with a status of 201 (Created).
>>    - Retrieve - Returns data for an account entity instance with the
>>    primary key value
>>    - Retrieve specific properties - To retrieve the entities with the
>>    specific property values
>>    - Retrieve using an alternate key - If an entity has an alternate key
>>    defined, then use the alternate key to retrieve the entity instead of the
>>    unique identifier for the entity.
>>    - Retrieve a single property value - To retrieve the value of a
>>    single property for an entity,
>>    - Update - Updates an existing account record with the accountid
>>    value
>>    - Update with data returned - To retrieve data from an entity you are
>>    updating you can compose your PATCH request so that data from the created
>>    record will be returned with a status of 200 (OK).
>>    - Update a single property value - To update only a single property
>>    value
>>    - Delete a single property value - To delete the value of a single
>>    property
>>    - Upsert an entity - An upsert operation is exactly like an update.
>>    The difference is that if the entity doesn’t exist it will be created. If
>>    it already exists, it will be updated.
>>    - Delete - To delete an entity
>>
>> [2] https://en.wikipedia.org/wiki/Microsoft_Dynamics_CRM
>> [3] https://msdn.microsoft.com/en-us/library/mt593051.aspx
>> [4] https://msdn.microsoft.com/en-us/library/mt622431.aspx
>> [5] https://docs.microsoft.com/en-us/azure/active-directory/deve
>> lop/active-directory-protocols-oauth-code
>>
>> Please let me know if you have any suggestions on this?
>>
>> Thanks
>> Kanapriya Kuleswararajan
>> Software Engineer | WSO2
>> Mobile : - 0774894438 <077%20489%204438>
>> Mail : - [email protected]
>> LinkedIn : - https://www.linkedin.com/in/kanapriya-kules-94712685/
>> <https://www.linkedin.com/in/hariprasath-thanarajah-5234b660>
>>
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to