Make your first REST API call to ServiceNow (using Postman + Basic Authentication)

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 24

  • @shindayo
    @shindayo ปีที่แล้ว +6

    Thanks! That saved me a lot of time! But actually I believe this is only good for dev instance. I doubt I'll get this "master" password from a customer to integrate with their SN REST API. So what is the "proper way" to authenticate with production instance of ServiceNow? Can't figure it out *sigh*

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว +2

      You would have to do OAuth most likely

  • @NinjasGamingLive
    @NinjasGamingLive 7 หลายเดือนก่อน

    how can i fill a reference field its not populating in servicenow In tried with many values

  • @shivalikagupta3433
    @shivalikagupta3433 2 หลายเดือนก่อน +1

    That's basic auth, thank youuu sooo much

    • @horeaporutiu
      @horeaporutiu  หลายเดือนก่อน +1

      Glad it was helpful!

  • @hammadkhan2008
    @hammadkhan2008 หลายเดือนก่อน

    can we use the sys_user table instead of the incident to check for authentication and validating a successful connection with the instance?

  • @TrungLe-bz4iv
    @TrungLe-bz4iv 7 หลายเดือนก่อน

    Can I have a copy of your postman collection. it looks very comprehensive Service Now API collection. Thanks

  • @thomaspoeckes473
    @thomaspoeckes473 ปีที่แล้ว

    Great video!! Do you know how to refresh token once it expires?

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      Thank you so much!
      I haven’t dug super deep into refresh tokens within service now but there should be many examples online to be able to check if a token is expired and if it is you can call the endpoint again to give you a new access token.
      Hope it helps and thank you for watching my videos! ❤️

  • @reachraheem
    @reachraheem 2 ปีที่แล้ว

    Hi! Can you help me understand what level of access needs to be grangted to my ServiceNow account in order to make API call to ServiceNow and get data?

    • @horeaporutiu
      @horeaporutiu  2 ปีที่แล้ว

      Hi there - this example uses the admin credentials. I just used a free account, and my admin credentials to make the API call / get the data. hope this helps! If not, please feel free to ask any questions you may have!

    • @prabhuchaitanya7707
      @prabhuchaitanya7707 ปีที่แล้ว

      In order to make an API call i believe we should be able to crate a demo user account and we should be able to give role web_service_admin hope this works

  • @satishkvs156
    @satishkvs156 2 ปีที่แล้ว +1

    Thank you so much, very good explanation

    • @horeaporutiu
      @horeaporutiu  2 ปีที่แล้ว

      Thank you, it means the world to me!

  • @thomasgebre7873
    @thomasgebre7873 ปีที่แล้ว

    Hello Horea I am assigned to a project where I need to create Request tickets instead of Incidents on service now from an Api call(mulesoft). If you can share some information on how to create Request Ticket please.
    Thank you!

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว +2

      I think you would just have to change the table from "incidents" to "request"

  • @smeeangle
    @smeeangle 2 ปีที่แล้ว +1

    Thanks a lot.

    • @horeaporutiu
      @horeaporutiu  2 ปีที่แล้ว

      Glad it was helpful!! :)

  • @dannypowell5160
    @dannypowell5160 2 ปีที่แล้ว +1

    great stuff!

  • @geethaanjali2348
    @geethaanjali2348 2 ปีที่แล้ว

    good explanation

  • @JohnMacTavish1990
    @JohnMacTavish1990 ปีที่แล้ว

    "message": "Requested URI does not represent any resource",
    that the message that I got every time.

    • @horeaporutiu
      @horeaporutiu  ปีที่แล้ว

      You are getting this on a new developer instance?
      On /api/now/table/incident?
      I tested mine on a fresh instance, so if you have different data than mine, maybe it will have different results.