summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json b/platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json
new file mode 100644
index 00000000..4a5828a5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json
@@ -0,0 +1,21 @@
+{ "body" : {
+"output" : {
+"CommonHeader" : {
+"TimeStamp" : ${prop.a1Adapter-dmaap-resp.timestamp},
+"APIver" : ${prop.a1Adapter-dmaap-resp.apiver},
+"RequestID" : ${prop.a1Adapter-dmaap-resp.requestID},
+"SubRequestID" : ${prop.a1Adapter-dmaap-resp.subrequestID},
+"RequestTrack" : ${prop.a1Adapter-dmaap-resp.requesttrack},
+"Flags" : ${prop.a1Adapter-dmaap-resp.flags}
+},
+"Status" : {
+"Code" : ${tmp.a1Adapter-dmaap-resp.status-code},
+"Value" : ${tmp.a1Adapter-dmaap-resp.status-value}
+},
+"Payload" : ${tmp.a1Policy-dmaap-resp.payload} }
+},
+"version" : ${prop.a1Adapter-dmaap-resp.version},
+"rpc-name" : ${tmp.a1-adapter-api.rpc-name},
+"correlation-id" : ${prop.a1Adapter-dmaap-resp.correlationID},
+"type" : ${prop.a1Adapter-dmaap-resp.type}
+} \ No newline at end of file