POST api/Object?model={model}&method={method}&methodParam={methodParam}

Execute of a method that returns true if successful/Aufruf einer Methode in Odoo

Request Information

Parameters

NameDescriptionAdditional information
model
The model name of the table/Modellname der Tabelle
            Example: hr.employee

Define this parameter in the request URI.

method
Name of the method/Name der Methode
            Example: attendance_action_change

Define this parameter in the request URI.

methodParam
Method parameter/Funktionsparameter
            Example: 1

Define this parameter in the request URI.

inputData
Contains the authentication token from Login/Enthält den Anmeldetoken

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AuthToken": "your authentication token"
}

application/xml, text/xml

Sample:
<AuthTokenInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/openErpRestApi.Models">
  <AuthToken>your authentication token</AuthToken>
</AuthTokenInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>