<?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: Cisco ISE 2.4 EndPoint API Creation in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310122#M566284</link>
    <description>&lt;P&gt;Hi Greg,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not looking to use the CSV, but replace it. You mention map them to a specific profiling policy with JSON.... where do you see this? I show above that I am assigning a profileID in my POST, however it's not showing up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 01:28:16 GMT</pubDate>
    <dc:creator>BrandonSharp37516</dc:creator>
    <dc:date>2021-03-19T01:28:16Z</dc:date>
    <item>
      <title>Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4309980#M566271</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get some clarification on the ISE REST API. Right now, if I import an endpoint from CSV, then use the API to GET the endpoint I see the following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "ERSEndPoint": {
        "id": "someID",
        "name": "11:11:11:11:11:11",
        "mac": "11:11:11:11:11:11",
        "profileId": "2222222-d10b-11e9-8b5f-2222222",
        "staticProfileAssignment": true,
        "groupId": "1111111-c830-11e9-8b5f-1111111",
        "staticGroupAssignment": true,
        "portalUser": "",
        "identityStore": "",
        "identityStoreId": "",
        "link": {
            "rel": "self",
            "href": "https://mysever:9060/ers/config/endpoint/name/11:11:11:11:11:11",
            "type": "application/json"
        }
    }
}&lt;/PRE&gt;&lt;P&gt;This is fine, now I want to use the API to insert the same device. So I copy this to a text file, delete the endpoint in ISE and run a POST with this payload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "ERSEndPoint" : {
        "mac" : "11:11:11:11:11:11",
        "groupId" : "11111111-c830-11e9-8b5f-11111111",
        "staticGroupAssignment" : true,
        "staticProfileAssignment" : true,
        "profileId": "2222222-d10b-11e9-8b5f-22222222"
    }
}&lt;/PRE&gt;&lt;P&gt;This returns 201, but when I go to the GUI to inspect, it's missing it's EndPoint Policy and it's EndPoint Profile. My question is, is this normal? What fields am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: For clarification this is the csv format I'm using to upload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MACAddress	        EndPointPolicy	        IdentityGroup
11:11:11:11:11:11	EIG-MyComp-Printer	EIG-MyComp-Printer&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 21:36:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4309980#M566271</guid>
      <dc:creator>BrandonSharp37516</dc:creator>
      <dc:date>2021-03-18T21:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310046#M566277</link>
      <description>&lt;P&gt;There are values like 'name' and 'id' that are required attributes. See the &lt;A href="https://developer.cisco.com/docs/identity-services-engine/2.6/#!end-point/resource-definition" target="_blank" rel="noopener"&gt;REST API SDK&lt;/A&gt; for a table listing required/optional attributes and other examples.&lt;/P&gt;
&lt;P&gt;You might also have a look at &lt;A href="https://community.cisco.com/t5/security-documents/ise-ers-api-examples/ta-p/3622623#toc-hId-964438477" target="_blank" rel="noopener"&gt;ISE ERS API Examples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 22:17:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310046#M566277</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2021-03-18T22:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310077#M566279</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding. I have viewed the link and the ERS SDK. The problem I am having is around creating the endpoint with API vs CSV. The two images I attached should make it clearer. I upload a file with 3 fields, and I use the rest API with the same fields and get different results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REST EXAMPLE&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-03-18 at 7.23.19 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/106786i0C6BE1D35B968D83/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-03-18 at 7.23.19 PM.png" alt="Screen Shot 2021-03-18 at 7.23.19 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;CSV EXAMPLE&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-03-18 at 7.28.43 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/106787i0DACC832068512A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-03-18 at 7.28.43 PM.png" alt="Screen Shot 2021-03-18 at 7.28.43 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 23:36:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310077#M566279</guid>
      <dc:creator>BrandonSharp37516</dc:creator>
      <dc:date>2021-03-18T23:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310093#M566280</link>
      <description>&lt;P&gt;So, if I understand correctly, you're trying to use the same CSV file for both file import as well as the REST API. Unless I'm mistaken, that is not possible as those methods use different attributes for the Profiler policy.&lt;/P&gt;
&lt;P&gt;The file import template uses "EndpointPolicy" whereas the ERS API uses "&lt;SPAN&gt;staticProfileAssignment&lt;/SPAN&gt;" and the relevant "profileID" associated with that Policy.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 00:17:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310093#M566280</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2021-03-19T00:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310098#M566281</link>
      <description>&lt;P&gt;I think we're on the same page, I want to replicate what users were doing with the CSV, with a REST API. I am trying to find API endpoint/parameters to replicate the "Import File" dropdown under Context Visibility =&amp;gt; Endpoints =&amp;gt; Import from file. Is that something that is going to be supported? It seems like a valid use case. Is there no programmatic way to associate an endpoint that was create via REST with a EndPointPolicy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a ton for your help,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 00:25:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310098#M566281</guid>
      <dc:creator>BrandonSharp37516</dc:creator>
      <dc:date>2021-03-19T00:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310117#M566283</link>
      <description>&lt;P&gt;This is not so much of a product issue, but more of a coding one. You can certainly create single or bulk endpoints via API and map them to a specific Profiling policy using JSON/XML.&lt;/P&gt;
&lt;P&gt;If you want to use a CSV file for your source info, you would likely need to look at coding that via Python. This discussion seems pertinent to what you are looking to do:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.cisco.com/t5/network-access-control/ise-ers-api-import-endpoints-from-xml-or-csv-file/td-p/3833703" target="_blank"&gt;https://community.cisco.com/t5/network-access-control/ise-ers-api-import-endpoints-from-xml-or-csv-file/td-p/3833703&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 01:16:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310117#M566283</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2021-03-19T01:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310122#M566284</link>
      <description>&lt;P&gt;Hi Greg,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not looking to use the CSV, but replace it. You mention map them to a specific profiling policy with JSON.... where do you see this? I show above that I am assigning a profileID in my POST, however it's not showing up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 01:28:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310122#M566284</guid>
      <dc:creator>BrandonSharp37516</dc:creator>
      <dc:date>2021-03-19T01:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310133#M566285</link>
      <description>&lt;P&gt;Sorry Brandon, I was misunderstanding what you were trying to do. I tested the same in ISE 3.0 p2 and it worked fine via JSON. I suspect you're running into a bug in 2.4.&lt;/P&gt;
&lt;P&gt;If you're not at the latest patch (patch 13), you might be hitting this bug - &lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvr68432" target="_blank" rel="noopener"&gt;CSCvr68432&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're already using patch 13, you might need to open a TAC case to investigate further.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 02:01:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310133#M566285</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2021-03-19T02:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE 2.4 EndPoint API Creation</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310135#M566286</link>
      <description>&lt;P&gt;Thanks Greg, I will work with my team to start the patching process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 02:08:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-2-4-endpoint-api-creation/m-p/4310135#M566286</guid>
      <dc:creator>BrandonSharp37516</dc:creator>
      <dc:date>2021-03-19T02:08:53Z</dc:date>
    </item>
  </channel>
</rss>

