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

Executes a method with three parameters/Führt eine Methode mit drei 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: add_produced_qty

Define this parameter in the request URI.

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

Define this parameter in the request URI.

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

Define this parameter in the request URI.

value1
Thid parameter of the method/3. Parameter der Methode
            Example: 5 (quantity)

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>