…As %Status{$$$LOGINFO("inside service")
set req = ##class(Ens.Request).%New()set tsc = ..SendRequestSync(..TargetConfigName, req, .tResponse)set pOutput = tResponse
Quit tsc}
Wi…
…HL7 message, then the business process passes the HL7 message to a business operation to send to a new HL7 end point. This code was created in Ensemble 2017. If you are using IRIS…
Hi:I'm looking for some help with JSON notation for a global structure. I need a way to represent a global structure in JSON where the global structure both has a value at a given…
Hi,
How do I generate JSON strings instead of integers, as follows:
{ "MyProperty":"1"}
all we seem to be able to generate is
{ "MyProperty":1}
Its for an api that requires t…
This article is a continuation of the IRIS JSON project and features additional methods and insights.
Let's continue with the instance methods
%GetTypeOf(Key)
This instance meth…
Hello community!I have a small challenge for you :)
One of customers is sending quite a lot of messages between interoperability components, which mix standard request content and…
…= {"asd":"asd"}
Do objHttpRequest.EntityBody.Write(pRequest.%ToJSON())
If objHttpRequest.Send("POST", "/aktest/test") {
Set objHttpResponse = objHttpRequest.HttpResponse
I…
…ect...? NOW..???
In Spain we say that better late than never ;-)
Have you ever need to send a numeric attribue of a Json in String format?
Did you go crazy casting class object…
…JSON as payload. We are currently still on Cache/HealthShare, not IRIS. Since we have to send Continuity of Care Documents, this raises issues with Long Strings (some CCDs can be…
…but keep in mind, any project lives and dies with a proper scope definition:
Users to send messages
Messages sent by one user should be broadcasted to all connected users
Pro…
I am sending a file in Postman and receiving a status 200OK. but i need to get the response in the body too. I have Implemented the class %CSP.REST to get the %request and %respons…
…ray classes. Actually I am surprised that this is not failing completely before you even send the request because of this. If your variable already has well formed JSON as the va…
…array Of %Text(MAXLEN = 10000);Property Topic As %String(MAXLEN = 100);c. End of loop d. Send the json array to the BPHere is the service code for referenceClass File.BS.FileServi…
How to set Content-Type header in http outbound adapter. It always sends the content-type as plain text/html. I am uploading a image / Pdf.
Class TEST.BusinessOperation.SaveFile…
…receives a POST HTTP-request, collect a file from that request in the Form data and then send it in another HTTP Post request through Form Data. However I can't really seem to sen…


