Dealing with warnings
Warnings can be caught by adding a "warnings" clause to the "answers" block.
Example
When deleting a meeting room reservation (/delete/UsrReservationMeetingRoom):
{
"filter": {
"Description": {
"eq": "DEMO reservation"
}
},
"answers": {
"warnings": [
{
"code": "PN_H00427"
}
]
}
}
This means that all PN_H00427 warnings will be ignored in this call. We’ve already seen in the section on Delete that removing our reservation threw this same warning twice. Listing it once in the request is good enough.