Skip to content

Instantly share code, notes, and snippets.

View damithsj's full-sized avatar

Damith Jinasena damithsj

View GitHub Profile
@damithsj
damithsj / rest_outbound_with_url_params.sql
Last active November 6, 2024 23:56
Sample IFS Cloud outbound REST API request
DECLARE
json_ CLOB;
message_id_ NUMBER;
url_params_ PLSQLAP_DOCUMENT_API.DOCUMENT;
BEGIN
json_ := '
{
"TestAttr1": "TestValue1"
}';
-- To match this request, set the Rest Root Endpoint URL as https://yourrooturl/{parameter1}/{parameter2}
@damithsj
damithsj / example_camt54.xml
Created January 1, 2025 19:00
Sample CAMT54 XML
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.054.001.02">
<BkToCstmrDbtCdtNtfctn>
<GrpHdr>
<MsgId>MsgId_1000001</MsgId>
<CreDtTm>2023-04-24T15:02:36.570+01:00</CreDtTm>
<MsgRcpt>
<Id>
<OrgId>
<Othr>