Monday, March 28, 2011

Blog Post: Dyanmics CRM 2011 REST ???????

???????????

????Dynamics CRM 2011 ???????????????Dynamics CRM ?
4.0 ???? Web ??????????????? Dynamics CRM 2011 ???
??? REST ?????????????????????????????????
???????????????

REST ?????????

REST ?????????URI ????????????????????????
??????????????????????????

Dynamics CRM 4.0 ?????? SOAP ???????????Web ?????
???????????? SOAP ????????????? REST ??????
?????? URI ?????????????????????????

http://[CRM???URL]/XRMServices/2011/OrganizationData.svc/AccountSet

??????? SOAP ???????????????????????????
?????????????????????? REST ??????????
???????????Silverlight ? JScript ????????

???????????????????????????????????
???HTTP ??? GET?POST?MARGE?DELETE ????????

????? XML ????????????Internet Explorer ???? RSS
?????????????????????? XML ?????????
???????????? | ????? | ????? Web ?????????
????????????????????????????????

???????????????

??????? URI ????????????????????????
??????????????????????? XML ????????
???????????????????????

image
(??)
image
(??)
image

??????????????????????????????????????????

$select ????????
?????????????????????????????$select ?
??????????????? Name ? ID ????????????
???URI ???????

...??.../AccountSet?$select=Name,AccountId

???? XML ??????????????????????? AccountId ?
Name ???????????
image

$filter ????????
T-SQL ? Where ??????????????$filter ?????????
???????????????????????????????????
???URI ???????

...??.../AccountSet?$select=Name,AccountId&$filter=StatusCode/Value eq 1

?? $filter ???????????????????????????
???? GUID ????????????? URI ???????

...??.../AccountSet?$filter==OwnerId/Id eq (guid'?????GUID')

????????????
??? $expand, $orderby, $top, $skip ??????????????
SDK  ?OData System Query Options Using the REST Endpoint? ?
?????????

????????

REST ???????????????????????????????????
????????????? URI ??????????

...??.../XRMServices/2011/OrganizationData.svc/$metadata

REST ????????????

??? REST ????????????????????

- ??????????????????????? (CRUD ??)
- Execute ??????????
- REST ???????? Web ?????? JScript ??? Silverlight ??????
- ???? OData ?????????????????????
- Silverlight ????????????????????????

??? REST ?????????????????????????????
??????????????????? JScript ?? REST ????????
Silverlight ?? REST ??????????????????????

- Dynamics CRM ???? ?? ???

Carla Gugino Ana Hickmann

No comments:

Post a Comment