<?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>question Re: REST API to get HR Cases in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/rest-api-to-get-hr-cases/m-p/3204842#M40576</link>
    <description>&lt;P&gt;Have you looked into these things: 1) App administration on the HR modules, and therefore 2) RCA / Caller access restrictions on tables and scripts, and 3) COE Security configurations.&amp;nbsp; HRSD is by default 'secured' so that you cannot just use a REST call to get to table data.&amp;nbsp; &amp;nbsp;In fact, even within the ServiceNow platform, these security restrictions even prevent internal apps from getting to data, depending on their scopes and caller access restriction settings.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 20:49:59 GMT</pubDate>
    <dc:creator>michaelward</dc:creator>
    <dc:date>2025-03-12T20:49:59Z</dc:date>
    <item>
      <title>REST API to get HR Cases</title>
      <link>https://www.servicenow.com/community/hrsd-forum/rest-api-to-get-hr-cases/m-p/3036276#M38394</link>
      <description>&lt;P&gt;I am trying to access case data via REST API using asp.Net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this successfully for incidents in the past (both get and post) but for some reason I can't see to find out which table I need in order to access case data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get case data base on either number (HRXXXXX) or creation_date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the table "&lt;SPAN&gt;sn_hr_core_case" but that didn't work using a test URL call of&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;https://INSTANCE.service-now.com/api/now/table/sn_hr_core_case?number=HRC0097319&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;What am I missing?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EDIT: I cant seem to reply so edit.&lt;BR /&gt;I think I am just missing some roles possibly to do this. I can query this using my profile in the REST Api Explorer but I can't get a result using the service account we use for access rest apis. What roles does a user account need to be able to get results from this?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;https://INSTANCE.service-now.com/api/now/table/sn_hr_core_case?sysparm_limit=1&amp;amp;number=HRC0097319&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;Also, iss it possible to get items based on the sys_created_on date using a &amp;gt;= a specific date/time? It doesn't seem like it works correctly.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 12:46:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/rest-api-to-get-hr-cases/m-p/3036276#M38394</guid>
      <dc:creator>bigbacon</dc:creator>
      <dc:date>2024-09-05T12:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get HR Cases</title>
      <link>https://www.servicenow.com/community/hrsd-forum/rest-api-to-get-hr-cases/m-p/3204842#M40576</link>
      <description>&lt;P&gt;Have you looked into these things: 1) App administration on the HR modules, and therefore 2) RCA / Caller access restrictions on tables and scripts, and 3) COE Security configurations.&amp;nbsp; HRSD is by default 'secured' so that you cannot just use a REST call to get to table data.&amp;nbsp; &amp;nbsp;In fact, even within the ServiceNow platform, these security restrictions even prevent internal apps from getting to data, depending on their scopes and caller access restriction settings.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 20:49:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/rest-api-to-get-hr-cases/m-p/3204842#M40576</guid>
      <dc:creator>michaelward</dc:creator>
      <dc:date>2025-03-12T20:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: REST API to get HR Cases</title>
      <link>https://www.servicenow.com/community/hrsd-forum/rest-api-to-get-hr-cases/m-p/3208528#M40642</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/170033"&gt;@bigbacon&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Validate the URL also check the roles for .NET user in servicenow to read /write/create hr case.&lt;/P&gt;&lt;P&gt;Please steps in servicenow to validate url and fields for rest integration can use for troubleshoot&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Navigate rest api explore in your ServiceNow instance&lt;/P&gt;&lt;P&gt;2. Select table api&lt;/P&gt;&lt;P&gt;3.retrive a record [get]&lt;/P&gt;&lt;P&gt;4.add details as "sn_hr_core_case" and sys_id of record to extract which need s extract and check 200 response.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SupriyaWaghmode_1-1742217028952.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/427474i9144E5D14B510841/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SupriyaWaghmode_1-1742217028952.png" alt="SupriyaWaghmode_1-1742217028952.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="georgia, serif"&gt;Thanks &amp;amp; Regards ,&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="georgia, serif" size="4"&gt;Supriya Waghmode |&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;FONT size="4"&gt;ServiceNow Consultant&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;A href="http://www.linkedin.com/in/supriya-waghmode" target="_blank" rel="noopener"&gt;www.linkedin.com/in/supriya-waghmode&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Mar 2025 13:09:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/rest-api-to-get-hr-cases/m-p/3208528#M40642</guid>
      <dc:creator>SupriyaWaghmode</dc:creator>
      <dc:date>2025-03-17T13:09:41Z</dc:date>
    </item>
  </channel>
</rss>

