Forum Discussion

RN's avatar
RN
New Contributor
6 months ago

Executing DM Step using RESTAPI

Hi, I'm trying to execute DM Step using Rest API using below URL and Body Text but I'm getting an error with error code 400 and with the message unsupported API version. Can you please let me know wh...
  • RobbSalzmann's avatar
    6 months ago

    RN if your instance is OS Cloud hosted, you will have to use a hard-coded "Personal Access Token" provided by the OneStream IdentityServer - see page 59 of Identity_and_Access_Management_Guide.pdf

    It appears the design intent of the REST API is automation of processes run by a machine account.  

    REST API comes in two flavors(versions): 5.2.0 and 7.2.0.  5.2.0 is send a request and wait for it to complete, Get.  7.2.0 is more fire and forget, though the docs are not clear when this (asynchronous) topology is used.  I think we can assume DM can be called Asynchronously using Post.