Skip to main content
Version: 5.7.0

PostJsonOffboard

Queues a JSON formatted document to be posted via HTTP, but does not wait for it to complete. This is useful for calls that you assume will succeed, but you don't want to take the time to wait for them to complete.

Note - if the far-end service returns anything other than a 200 response, an error will be written to the Monitoring | Global Monitoring | Recent Errors log.

Error reason codes

ParameterDescription
40443Processing exception (message): Invalid service code. Ensure the Web Service has been configured
ServiceOperation
httpClientPOST_JSON_OFFBOARD

Method Parameters

ParameterDescription
serviceCodeService code of the external service configured in the Cloud Code - Web Services section of the portal
pathPath to append to the Base URL of the service
queryMap of query parameters
headersMap of extra headers
jsonJSON formatted data to post

Usage

http://localhost:3000
//Switch to CC tab
JSON Response
{
"data": null,
"status": 200
}