none
Soap Call to PSI Resource.asmx - UpdateResource RRS feed

  • Question

  • Hi Experts,

    I am trying to update a Resource name through PSI using SoapUI and I have been facing some issues in understanding how to make the Soap call to the operation UpdateResources. My problem is maintaining the DataSet element and this is what I am trying to pass to update the Resource Name field:

       <soapenv:Body>
          <res:UpdateResources>
             <res:rds>
                <Resources>
                   <RES_UID>7da7122b-e835-4a14-9f4a-71f6002c32eb</RES_UID>
                   <RES_NAME>Ricardo Test</RES_NAME>
                </Resources>
             </res:rds>
             <res:validateOnly>false</res:validateOnly>
             <res:autoCheckIn>true</res:autoCheckIn>
          </res:UpdateResources>
       </soapenv:Body>

    Could you please tell me if I am doing something wrong?

    Thanks in advance.

    Regards,

    Ricardo

    Monday, February 24, 2014 2:32 AM

All replies

  • Hi Ricardo.

    Have you checked out the resource first? If the Resource is still checked in you can not edit it.

    Resource.CheckOutResources Method: http://msdn.microsoft.com/en-us/library/office/gg218076%28v=office.14%29.aspx

    Regards

    Sunday, March 9, 2014 2:42 PM