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

Executes a method with two object parameters

Request Information

Parameters

NameDescriptionAdditional information
model
The model name of the table

Define this parameter in the request URI.

method
Name of the method

Define this parameter in the request URI.

objectID1
First ID of the object for which the method is called

Define this parameter in the request URI.

objectID2
Second ID of the object for which the method is called

Define this parameter in the request URI.

inputData
Contains the authentication token from Login

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:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />