• 401 Unauthorized response through API

    Hi everyone,

    This is my Powershell script to login:


    $url='http://[AppServerIP]/AppServer/auth/apphost'

    $bi=@{
    "authString"="Module=DialogUser;User=***;Password=***"

    }
    $authJson = ConvertTo-Json $bi -Depth 2

    $LoginRequest2 = Invoke…

  • Assigning AD group to Business Role via API

    Looking for information on assigning AD Groups to a Business Role via the API.

    I think I may have found the correct assignments table but I cannot seem to get it to work: OrgHasADSGroup

    I have tried using it both ways with Group / Role (Org Tree) like…

  • PersonWantsOrg "Method MakeDecision was not found."

    Hello! 

    1IM 8.1 

    I need approve request over API. 

    When I do request 

    "https://server/api/entity/PersonWantsOrg/dd74829c-73fa-4d1e-b8ae-059f517c783e/method/MakeDecision" I get error: 

    {"responseStatus":{"errorCode":"NotFound","message":"Method MakeDecision…

  • OAuth2.0 and API

    Hi.

    We're trying to get ServiceNow to run scripts in One IM and doing that with OAuth2.0. I've installed the RSTS but something is missing.

    1. I have enabled both OAuth2.0-authentication modules but do I need to configure a identity provider…

  • Calling Scripts via Application Server RESTful API using Common_StartScripts permission not working

    Hi,

    We are trying to call a custom script via the Application Server RESTful API. 

    We have made sure that the user who does this has an application role assigned which has the permission group Common_StartScripts. 
    This application role also has the permissions…

  • How to use OAuth 2.0 with Application Server via RESTful API

    Hi,

    Currently we have an application that communicates with the 1IM system via the RESTful API provided by the application server. This communication is currently done via the RoleBasedEmployee Authentication Module. 

    We are looking into changing this…

  • How to approve a pending request via the AppServer API

    Hi,

    I am currently working on a project that requires an iOS app to talk to the D1IM API. 

    This is working perfectly and I can pull out the information I need and present it in the app.

    However I am having trouble on how to approve a pending request via…