on 10-15-2014 3:27 PM
Hello Tomasz,
Add below Header ->
Content Type - application/json
Create JSON payload as below -> Sample
{
"ID": "50001444",
"Name": "John"
}
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I know how to update 'normal' entities with JSON and what header & payload has to be provided.
This however doesn't seem to work for SubscriptionCollection.
I'm getting 500 Internal Server Error and
<code>
</code>
<message xml:lang="en">
Turned out to be an issue with the payload.
I managed to get it working with following data:
headers:
accept: application/json
x-csrf-token: my_token
payload:
{
"deliveryAddress": "http://xyz:8000",
"persistNotifications": false,
"collection": "MyCollection"
}
Now I see new entries in table /IWBEP/D_MGW_SUB
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.