The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
IBK
2 years agoNew Contributor III
REST API BR for data being pushed into OneStream
Hello, I have a REST API which has been tested in POSTMAN. The problem is data is being pushed into OneStream. So how would this work in the BR. Any help would be appreciated. Thank You, Indu
js11
OneStream Employee
2 years agoHello, you can't actually "push" data into OneStream. When you say you "have a REST API", are you referring to an External REST API? I assume so, but just wanted to check. Assuming this is an external REST API, you can use the HttpClient class which is part of the System.Net.Http namespace from within a business rule to "pull" the data from your REST endpoint. This would typically be done from a Connector Business Rule. You would then parse the response into a DataTable and then use api.Parser.ProcessDataTable to process the data into a OneStream workflow.
Related Content
- 4 months ago
- 9 months ago