web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Any example of xml soap request for create, associate, disassociate, update, retrieve and retrieve multiple for the entity systemuser on CRM 2011? This is for creating users from a SOAP Client like SOAPUI.

(0) ShareShare
ReportReport
Posted on by 55

Hi, i'm trying to create systemuser from a SOAP Client, SOAPUI, this is for testing an integration with a system. I need to create,, associate, disassociate, update, retrieve, retrieve multiple users. For that i need the xml soap request, but i don't know which are the parameters or the structure of this.

It  would be also helpful if you have an example that work, about a visual basic code for creating an user from an .exe.

Any help will be well received.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Arpita Saini Profile Picture
    on at

    For Contact Entity -Retrieve/Retrieve Multiple

    ======================================

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:con="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">

       <soap:Body>

          <ser:Retrieve>

             <ser:entityName>contact</ser:entityName>

             <ser:id>231210FD-7733-E411-AB5F-00155D95890E</ser:id>        

             <ser:columnSet>

                <con:AllColumns>false</con:AllColumns>

            <con:Columns>

            <arr:string>fullname</arr:string>

            </con:Columns>

             </ser:columnSet>

          </ser:Retrieve>

       </soap:Body>

    </soap:Envelope>

     

     

    ============

    Execute request:-

     

    POST http://crmserver2:5555/CRMTestOrg/XRMServices/2011/Organization.svc/web

    Content-Type: text/xml; charset=utf-8

    SOAPAction: http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Execute

     

    REQUEST:-

    <s:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">

    <s:Body>

    <Execute xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

    <request i:type="a:RetrieveEntityRequest" xmlns:a="http://schemas.microsoft.com/xrm/2011/Contracts">

    <a:Parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Collections.Generic">

    <a:KeyValuePairOfstringanyType>

    <b:key>EntityFilters</b:key>

    <b:value i:type="c:EntityFilters" xmlns:c="http://schemas.microsoft.com/xrm/2011/Metadata">Entity Attributes Privileges Relationships</b:value>

    </a:KeyValuePairOfstringanyType>

    <a:KeyValuePairOfstringanyType>

    <b:key>MetadataId</b:key>

    <b:value i:type="c:guid" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/">00000000-0000-0000-0000-000000000000</b:value>

    </a:KeyValuePairOfstringanyType>

    <a:KeyValuePairOfstringanyType>

    <b:key>RetrieveAsIfPublished</b:key>

    <b:value i:type="c:boolean" xmlns:c="http://www.w3.org/2001/XMLSchema">false</b:value>

    </a:KeyValuePairOfstringanyType>

    <a:KeyValuePairOfstringanyType>

    <b:key>LogicalName</b:key>

    <b:value i:type="c:String" xmlns:c="http://www.w3.org/2001/XMLSchema">account</b:value>

    </a:KeyValuePairOfstringanyType>

    </a:Parameters>

    <a:RequestId i:nil="true" />

    <a:RequestName>RetrieveEntity</a:RequestName>

    </request>

    </Execute>

    </s:Body>

    </s:Envelope>

     

  • Community Member Profile Picture
    on at

    Hi Apita, Can you please tell how to get all accounts details along with their address.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans