on 2020 May 11 5:59 AM
Greetings,
I have a question about the behavior for RESTful PUT function with Restful Task Interface (RTI).
Thing is, that every time a handled tasks subject gets an update with PUT, then everything else is deleted and left blank. Ie. the "To" address, Body etc are updated to "null" values. We are only updating the Subject value. Is this intentional? Do we need to update everything else also?
Kind Regards,
Alder Tsvetkov
Request clarification before answering.
Hi Alder,
I think the only way to get PATCH method there is through Customer Influence. Which for OnPrem CCtr means FP17 as earliest, which means ETA Q2/2021, I assume. Technically, hotfix can bring this too but I don't think this would happen.
Restful interfaces documentation could be improved, I agree. I miss version specific comments - for instance, RMI methods /userStatuses or /settings or /contactSummaries were introduced in FP15. But unlike in rest of documentation, this is not indicated here, you have to go to release notes to find out... So I have spent 1 hour scratching my head with FP14 before I figured this out... :-).
Regards,
Dawood
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alder,
I think you have to "update" all fields with PUT method - so you should precede the PUT call with GET call to get actual image of your task and change the Subject field only.
Generally, to update single or only several fields of resource with many fields, PATCH method should be used. But I am afraid PATCH is not implemented in SAP CCtr's restful interfaces.
Regards,
Dawood
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.