Hi!
This question is similar to your
another thread.
As I see from provided log file, field "message" is not optional in your
notification schema, that's why it represented as primitive data type
string. If you mark field as optional it will be represented as complex
data type Union. That's why your notification.json file should contain
{
"message": "Hello world!"
}
instead of intended for Union type
{
"message":{
"string":"Hello world!"
}
}
I have added more detailed description for send notification methods in our Admin REST API documentation page.
Best regards,
Oleksandr
понеділок, 16 травня 2016 р. 15:56:34 UTC+3 користувач dhan написав: