HRSD REST API Integrations

_Samay
Tera Expert

Hello Friends,

Does anyone perform Leena AI Integration with ServiceNow? Also, please help us with below Questions if anyone can help.

  • A record producer for HRSD Application can be exposed from REST API Web services?
  • How REST API can be pushed/created for different HR Services? for Create and query HR Cases?
  • If we are exposing HRRD REST API to third part apps then we can maintain security of HRSD apps.
  • Do we have anything OOB from SNOW end ?

Thanks,

 

1 ACCEPTED SOLUTION

Kamal17
Kilo Sage

@_Samay 
Following details should address your queries.

  • A record producer for HRSD Application can be exposed from REST API Web services? - Yes, this is possible using OOTB Service Catalog API - Submit a Record Producer function available via REST API explorer. Sample REST API endpoint given below. Refer to   for more info.
POST https://dev329765.service-now.com/api/sn_sc/servicecatalog/items/{sys_id}/submit_producer

Kamal17_0-1751508698400.png

 

  • How REST API can be pushed/created for different HR Services? for Create and query HR Cases? - You can try leveraging the functions under HR Case Creation REST API. Can create your own function if the existing ones doesn't suit your use case.
  • If we are exposing HRRD REST API to third part apps then we can maintain security of HRSD apps. - It's possible, you can achieve it in two steps.
    • step 1: Secure your endpoint by restricting the accounts which can access it. - Can be done by using a REST endpoint ACL to define who can access it.
    • step 2: Secure the resources which should be allowed to access via the API. - Can be done by using user criteria to secure your record producer.
  • Do we have anything OOB from SNOW end ? - yes, refer to above answers

btw if you want to have more control over your API, E.g., adding additional processing logic for specific headers, customizing the response format, implement additional security to the endpoint, etc... then you can consider setting up your own custom API by setting up a Scripted REST API endpoint.

 

Hit "Correct", "Helpful" or "Like" depending on the impact of the response.
Regards,
Kamal S

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@_Samay 

you can create a scripted REST API in case 3rd party team wants to consume the endpoint.

It will be secured.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@_Samay 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Kamal17
Kilo Sage

@_Samay 
Following details should address your queries.

  • A record producer for HRSD Application can be exposed from REST API Web services? - Yes, this is possible using OOTB Service Catalog API - Submit a Record Producer function available via REST API explorer. Sample REST API endpoint given below. Refer to   for more info.
POST https://dev329765.service-now.com/api/sn_sc/servicecatalog/items/{sys_id}/submit_producer

Kamal17_0-1751508698400.png

 

  • How REST API can be pushed/created for different HR Services? for Create and query HR Cases? - You can try leveraging the functions under HR Case Creation REST API. Can create your own function if the existing ones doesn't suit your use case.
  • If we are exposing HRRD REST API to third part apps then we can maintain security of HRSD apps. - It's possible, you can achieve it in two steps.
    • step 1: Secure your endpoint by restricting the accounts which can access it. - Can be done by using a REST endpoint ACL to define who can access it.
    • step 2: Secure the resources which should be allowed to access via the API. - Can be done by using user criteria to secure your record producer.
  • Do we have anything OOB from SNOW end ? - yes, refer to above answers

btw if you want to have more control over your API, E.g., adding additional processing logic for specific headers, customizing the response format, implement additional security to the endpoint, etc... then you can consider setting up your own custom API by setting up a Scripted REST API endpoint.

 

Hit "Correct", "Helpful" or "Like" depending on the impact of the response.
Regards,
Kamal S