Hi friends,
I am trying to access web api as below
Currently I am calling below Web API
xxx.crm8.dynamics.com/.../contacts;fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"><entity name="contact"><attribute name="contactid" /><attribute name="firstname" /><attribute name="middlename" /><attribute name="lastname" /><attribute name="mobilephone" /><attribute name="emailaddress1" /><order attribute="createdon" descending="true" /><filter type="and"><filter type="and"><condition attribute="emailaddress1" operator="like" value="mrxxx@gmail.com%" /><condition attribute="firstname" operator="like" value="name%" /><condition attribute="lastname" operator="like" value="shaikh%" /><condition attribute="mobilephone" operator="like" value="98251xxx%" /><condition attribute="statuscode" operator="eq" value="1" /></filter></filter></entity></fetch>
My output
{"@odata.context":"xxx.crm8.dynamics.com/.../v8.0$metadata#contacts(contactid,firstname,middlename,lastname,mobilephone,emailaddress1,createdon)","value":[{"@odata.etag":"W/\"101141016\"","contactid":"fb53fcf0-4da1-e811-a95f-000d3af06ac5","firstname":"name","middlename":"middlename","lastname":"shaikh","mobilephone":"98251xxxxx","emailaddress1":"mrxxxx@gmail.com","createdon":"2018-08-16T12:14:41Z"}]}
My concern:
How can i access same format API from Partner Portal. I don't mind making custom web service. but i want my output format to be same. How can i acheive this? Can you please guide me.
I tried to make same request from SOAPUI but error says "The query parameter fetchxml is not supported". So i wonder, can i achieve this or not?
*This post is locked for comments
I have the same question (0)