POST api/Object?model={model}&method={method}&objectID1={objectID1}&objectID2={objectID2}

Executes a method with two parameters/Führt eine Methode mit zwei Parametern aus

Request Information

Parameters

NameDescriptionAdditional information
model
The model name of the table/Modellname der Tabelle
            Example: mrp.production.workcenter.line

Define this parameter in the request URI.

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

Define this parameter in the request URI.

objectID1
First parameter of the method/1. Parameter der Methode
            Example: 24  (workcenterline_id)

Define this parameter in the request URI.

objectID2
Second parameter of the method/2. Parameter der Methode
            Example: 13  (employee_id)

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>