Dealing with confirmations
Confirmations can be caught by adding a "confirmations" clause to the "answers" block.
Example
When updating the distribution area of a property. In the Planon application, the question comes up whether sub-properties should inherit this change:
When using a request to do this, these questions can be caught by using an "answers" block with a "confirmations" clause (/update/Property):
{
"filter": {
"Name": {
"eq": "Columbus Campus"
}
},
"answers": {
"confirmations": [
{
"code": "PN_A00903",
"answer": true
}
]
},
"values": {
"DistributionArea": "South-West"
}
}
Consequently, all answers to question PN_A00903 will be set to "Yes" for this call.
| Again, listing it once in the request is good enough. |
Note that it is not possible to set some answers to "Yes" and others to "No". Note that when adding multiple "confirmations" clauses for the same confirmation-ID, only the last one will be executed for all.