How can use Link entities in Rest Endpoint

질문 How can use Link entities in Rest Endpoint

  • 26 Juni 2012 8:30
     
     

    Hi All,

    we want to retreive all the acitivities related to account record. So we are trying to $link  activitiy party with activity pointer. So we are using the url in following way.

    http://servername//xrmservices/2011/organizationdata.svc/ActivityPointerSet()?"$select", "Subject,ActivityTypeCode,StateCode,CreatedOn,ScheduledEnd,ActualEnd,ActivityId&$filter=RegardingObjectId/Id eq (guid'" + Id.ToString() + "'))/$links/activitypointer_activity_parties"

    When we type on the browser it's giving bad request. Kindly reply.

    Regards,

    NAG.

Semua Balasan

  • 26 Juni 2012 9:45
     
     

    Hi,

    take a look at the CrmRestKit.js source-code. There is a working version for this kind of opertion. 

    Daniel