<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:API call problem in Intel vPro® Platform</title>
    <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1372283#M8937</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There are some additional documentation in Intel® Endpoint Management Assistant (Intel® EMA) Application Programming Interface (API) Guide (&lt;A href="https://www.intel.com/content/www/us/en/support/articles/000055621/software/manageability-products.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/support/articles/000055621/software/manageability-products.html&lt;/A&gt;) about individual API URIs (such as descriptions and parameters) contained in the following two HTML files. Latestswagger.html (&lt;A href="https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/Latestswagger.html" target="_blank"&gt;https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/Latestswagger.html&lt;/A&gt;) contains the API paths that always point to the latest released API version. In addition, the version 5 API URI details file, V5swagger.html (&lt;A href="https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/V5swagger.html" target="_blank"&gt;https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/V5swagger.html&lt;/A&gt;), is provided as well which might help you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To have a better understanding of the command/script you are using I will send you an email so you can share the samples been used and see if we can better assist you that way.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Mar 2022 00:35:23 GMT</pubDate>
    <dc:creator>JoseH_Intel</dc:creator>
    <dc:date>2022-03-28T00:35:23Z</dc:date>
    <item>
      <title>API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370078#M8921</link>
      <description>&lt;P&gt;Trying to POST a reboot, and I get this message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Message": "{\"ExtendedCode\":1034,\"ExtendedMessage\":\"Model cannot be null\"}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my URL (edited) using a bearer token.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://&amp;lt;system_url&amp;gt;/api/latest/EndpointIBOperations/reboot?EndpointId=&amp;lt;endpoint_id&amp;gt;" target="_blank"&gt;https://&amp;lt;system_url&amp;gt;/api/latest/EndpointIBOperations/reboot?EndpointId=&amp;lt;endpoint_id&amp;gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can make some API calls just fine.&amp;nbsp; There doesn't seem to be much info on this model error.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 16:11:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370078#M8921</guid>
      <dc:creator>hobart_symms</dc:creator>
      <dc:date>2022-03-18T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370417#M8924</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="font-size: 14px;"&gt;hobart_symms,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for joining the Intel community&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Are you referring to the EMA API? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In order to reboot an endpoint, follow the next steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;Go&lt;/B&gt; into the same directory as when they downloaded the &lt;I&gt;API samples&lt;/I&gt;. Specifically, &lt;I&gt;Set-IntelEMAEndpointPowerState.ps1&lt;/I&gt; sample Powershell script.&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Use &lt;/B&gt;the &lt;I&gt;-emaServerURL &lt;/I&gt;switch to call the server.&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Put&lt;/B&gt; in the fully qualified name of the server.&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Use&lt;/B&gt; the hostname switch.&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Enter&lt;/B&gt; the name of the hostname that is in EMA. It should be in the &lt;I&gt;EMA WebUI console&lt;/I&gt;. Note: They can also find the system ID in the console.&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Use&lt;/B&gt; the power state switch to call the command&amp;nbsp;desire, in this example &lt;B&gt;reset&lt;/B&gt;. The &lt;I&gt;EMA WebU console&lt;/I&gt; also has all the various &lt;B&gt;reset&lt;/B&gt;, &lt;B&gt;reboot&lt;/B&gt;, &lt;B&gt;wake&lt;/B&gt; options available.&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;Verbose &lt;/B&gt;for debugging logs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Example of the commands on the power shell:&lt;/P&gt;&lt;P&gt;&lt;B&gt;PS&amp;gt; ./Set-IntelEMAEndpointPowerState.ps1 -emaServerURL&amp;nbsp;&lt;/B&gt;&lt;A href="http://ema.westus2.cloudapp.azure.com/" rel="noopener noreferrer" target="_blank"&gt;&lt;U&gt;ema.westus2.cloudapp.azure.com&lt;/U&gt;&lt;/A&gt;&lt;B&gt;&amp;nbsp;-hostname&amp;nbsp;&lt;/B&gt;&lt;U&gt;UsersLaptop&lt;/U&gt;&lt;B&gt;&amp;nbsp;-powerState&amp;nbsp;&lt;/B&gt;&lt;U&gt;Reset&lt;/U&gt;&lt;B&gt;&amp;nbsp;-Verbose&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2022 01:20:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370417#M8924</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-03-21T01:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370581#M8927</link>
      <description>&lt;P&gt;Thanks, but I'm not really interested in using powershell.&amp;nbsp; That would add another layer of complexity.&amp;nbsp; I probably could have phrased my question better.&lt;/P&gt;
&lt;P&gt;This is an API call to the EMA server.&amp;nbsp; According to the Intel documentation, I should be able to do this via an API call.&lt;/P&gt;
&lt;P&gt;The hostname and client ID are known, I just removed them for this posting.&lt;/P&gt;
&lt;P&gt;I can obtain a token from EMA and can perform various other API calls on the server, however, when it comes to power operations, I get that vague error message:&amp;nbsp;&lt;SPAN&gt;"Message": "{\"ExtendedCode\":1034,\"ExtendedMessage\":\"Model cannot be null\"}"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:44:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370581#M8927</guid>
      <dc:creator>hobart_symms</dc:creator>
      <dc:date>2022-03-21T13:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370589#M8928</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm also facing similar issue.&lt;/P&gt;
&lt;P&gt;I am using PowerShell API Sample script "Add-IntelEMATenantUser.ps1", I have modified it to create multiple user accounts which are imported from CSV file.&lt;/P&gt;
&lt;P&gt;It works perfectly on 16 users except 1.&lt;/P&gt;
&lt;P&gt;The user account is verified and so are other details, I can create the user manually in the EMA console, but it does fails when using the script.&lt;/P&gt;
&lt;P&gt;Please find error details below.&lt;/P&gt;
&lt;P&gt;Please let me know if you have any suggestions or need additional details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VERBOSE: POST &lt;A href="https://ema.compucom.com/api/latest/users" target="_blank"&gt;https://ema.compucom.com/api/latest/users&lt;/A&gt; with -1-byte payload&lt;BR /&gt;VERBOSE: REST Error Status: 400 Bad Request&lt;BR /&gt;Invoke-WebRequest : {"Message":"{\"ExtendedCode\":1034,\"ExtendedMessage\":\"Model cannot be null\"}"}&lt;BR /&gt;At line:315 char:7&lt;BR /&gt;+ try { Invoke-WebRequest -Uri "$emaServerURL$emaAPICallPath" -UseBasic ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException&lt;BR /&gt;+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayur Sharma&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 14:19:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370589#M8928</guid>
      <dc:creator>MayurSharma</dc:creator>
      <dc:date>2022-03-21T14:19:34Z</dc:date>
    </item>
    <item>
      <title>Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370791#M8929</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can find the EMA API guide here:  &lt;A href="https://www.intel.com/content/www/us/en/support/articles/000055621/software/manageability-products.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/support/articles/000055621/software/manageability-products.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you have specific examples just paste them here so we can double-check with our senior team&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Mar 2022 00:47:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370791#M8929</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-03-22T00:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370801#M8930</link>
      <description>&lt;P&gt;That is the guide I have already been using.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 01:32:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1370801#M8930</guid>
      <dc:creator>hobart_symms</dc:creator>
      <dc:date>2022-03-22T01:32:40Z</dc:date>
    </item>
    <item>
      <title>Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1371938#M8934</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am following up just to ask if you have any further details, updates, questions or comments in regards to this issue? I will elevate your question to our senior team. Will get back with update as soon as available&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Mar 2022 04:44:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1371938#M8934</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-03-25T04:44:33Z</dc:date>
    </item>
    <item>
      <title>Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1372283#M8937</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There are some additional documentation in Intel® Endpoint Management Assistant (Intel® EMA) Application Programming Interface (API) Guide (&lt;A href="https://www.intel.com/content/www/us/en/support/articles/000055621/software/manageability-products.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/support/articles/000055621/software/manageability-products.html&lt;/A&gt;) about individual API URIs (such as descriptions and parameters) contained in the following two HTML files. Latestswagger.html (&lt;A href="https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/Latestswagger.html" target="_blank"&gt;https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/Latestswagger.html&lt;/A&gt;) contains the API paths that always point to the latest released API version. In addition, the version 5 API URI details file, V5swagger.html (&lt;A href="https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/V5swagger.html" target="_blank"&gt;https://www.intel.com/content/dam/support/us/en/documents/software/manageability-products/V5swagger.html&lt;/A&gt;), is provided as well which might help you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To have a better understanding of the command/script you are using I will send you an email so you can share the samples been used and see if we can better assist you that way.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Mar 2022 00:35:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1372283#M8937</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-03-28T00:35:23Z</dc:date>
    </item>
    <item>
      <title>Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1373142#M8944</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am just following up to double-check if you found the provided information useful. If you have further questions please don't hesitate to ask. If you consider the issue to be completed please let us know so we can proceed to mark this thread as closed. I will try to reach you as a very last time on next Monday 4th. After that the thread will be archived automatically.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Mar 2022 05:33:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1373142#M8944</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-03-31T05:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1373267#M8945</link>
      <description>&lt;P&gt;Unfortunately, those are all documents which I already had access to.&amp;nbsp; I did my due diligence on that part.&amp;nbsp; I think the issue at hand is the "Model cannot be null" error message, which is about as helpful as "PC LOAD LETTER".&lt;/P&gt;
&lt;P&gt;For now, I'm just going to assume this call to the EMA is either broken (simply doesn't work) or is lacking in documentation.&amp;nbsp; I'd be curious to know if anyone has ever gotten it to work.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 12:22:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1373267#M8945</guid>
      <dc:creator>hobart_symms</dc:creator>
      <dc:date>2022-03-31T12:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1373493#M8946</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the feedback. I sent you an email so you can reply with an example of your script. Please reply back so I can elevate your question. In case you didn't received the email let me know to resend it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jose A.&lt;/P&gt;
&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 03:10:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1373493#M8946</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-04-01T03:10:22Z</dc:date>
    </item>
    <item>
      <title>Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1375401#M8957</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just following up to double check if you received the email sent. If not just let me know to go ahead and resend it. You can reply to this thread too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2022 02:32:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1375401#M8957</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-04-08T02:32:50Z</dc:date>
    </item>
    <item>
      <title>Re:API call problem</title>
      <link>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1376731#M8965</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will proceed to mark this thread as closed. If you have further issues or questions just go ahead and submit a new topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jose A.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Apr 2022 03:51:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-vPro-Platform/API-call-problem/m-p/1376731#M8965</guid>
      <dc:creator>JoseH_Intel</dc:creator>
      <dc:date>2022-04-13T03:51:33Z</dc:date>
    </item>
  </channel>
</rss>

