Update an existing Webhook
Note
API endpoints:
PUT {your_Odoo_server_url}/restapi/1.0/webhooks/{id}?vals={fields_and_values_to_update} (Update a single webhook by its id)
PUT {your_Odoo_server_url}/restapi/1.0/webhooks?ids={comma_separated_ids}&vals={fields_and_values_to_update} (Update a list of webhooks of particular ids)
Query Parameters:
vals
fields to update and the value to set on them:: {'field_name': field_value, ...}
see write() for details.
Request Headers
Accept – the response content type depends on header
Authorization – The OAuth protocol parameters to authenticate.
Response Headers
Content-Type – this depends on header of request
Status Codes
200 OK – no error
404 Not Found – there’s no resource
401 Unauthorized – authentication failed
403 Forbidden – if any error raise
Last updated