I tried following the following tutorial:
https://developer.opentext.com/webaccess/#url=/awd/resources/articles/8545/appworks+notifications
but i was unable to get the notifications feature working, i am having trouble structuring the request properly.
Here is an example of what i am trying to submit, following the convention of the tutorial:
key="c8d64af189bdb292e62cc6fb99b339930e4b4f60001d63d1"
users="otag","otag@otag"
message=
{
"type":"testIt",
"displayType":"show",
"body":"this is a test, this is only a test",
"header":"this is a test"
}
I have tried several combination of using quotes and without - no difference, same error
This is the error i receive:
HTTP Status 400 -
type Status report
message
description The request sent by the client was syntactically incorrect.
It would make things a lot easier if the entire payload used the JSON structure.
{
"key": "someKey",
"users": ["usr1","usr2","usr3"],
"message": {}
}
Can someone post a sample of what the POST payload should look like.
Any help would be appreciated.
Cheers,
Brian