go to post Dustin Knudsen · Jul 21, 2021 It returned this: ^temp.debug(6492,"size")=""^temp.debug(9788,"data")=""^temp.debug(9788,"size")=0
go to post Dustin Knudsen · Jul 16, 2021 Strangely, I recreated that same logic in Powershell using Invoke-Webrequest, and it printed out the json list I'm looking for just fine when I called the API, with a 200 code of success. When I print out the status code in the terminal for the objectscript code, it returns 302, which is a URL redirect, yet they both look as if they have the same functionality.
go to post Dustin Knudsen · Jul 15, 2021 If I do Set stream=##class(%FileBinaryStream).%New() Write stream.CopyFrom(getStaffReq.HttpResponse.Data) I get this large output: v¯fAPI\-e^zCopyFrom+1^%Library.FileBinaryStream.1^1-e^zGetStaffRequest+21^CompBI.bo.APITest.1^1"d^^%Library.FileBinaryStream.1^0,E^zSizeGet+1^%Library.FileBinaryStream.1^1e^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0"d^^%Library.FileBinaryStream.1^0-E^zCopyFrom+2^%Library.FileBinaryStream.1^1e^^CompBI.bo.APITest.1^0"d^^%Library.FileBinaryStream.1^0-E^zCopyFrom+2^%Library.FileBinaryStream.1^1e^^CompBI.bo.APITest.1^0d^^CompBI.bo.APITest.1^0E^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0d^^CompBI.bo.APITest.1^0E^^CompBI.bo.APITest.1^0d^^CompBI.bo.APITest.1^0E^^CompBI.bo.APITest.1^0d^^CompBI.bo.APITest.1^0E^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0d^^CompBI.bo.APITest.1^0E^^CompBI.bo.APITest.1^0d^^CompBI.bo.APITest.1^0E^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0'd^^%Library.DynamicAbstractObject.1^03E^%FromJSON+37^%Library.DynamicAbstractObject.1^1e^^CompBI.bo.APITest.1^0d^^^
go to post Dustin Knudsen · May 27, 2021 I looked through the .cls file, it's pretty stripped down and I don't offhand see anything indicating a lingering connection to that operaton.
go to post Dustin Knudsen · May 27, 2021 Vic Sun Here's a screenshot, I blacked out company-related info I just want process.BPL.Momentum to connect to bo.MomentumOperation, not Qure4uSQL It's disabled at the moment, but even still the drawn line still implies some kind of underlying connection to the qure4u operation doesn't it? I'm not exactly sure what you mean when you ask what kind of business process it is.