For the complete documentation index, see llms.txt. This page is also available as Markdown.

Request

Frends Task for making requests to Odoo API.

Task version: 1.0.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

Model : String

Model to call in the request. You can get a list of Odoo model by calling the "ir.model" model

with the "search_read" method and the fields "name", "model" and "state".

Default: res.partner Example: res.partner

Method : String

Method to execute in the request.

Default: search_read Example: res.partner

Args : String

Method arguments as JSON.

Default: [] Example: [ "arg1", 1 ]

Kwargs : String

Method keyword arguments as JSON.

Default: {} Example: { "key1": "value1", "key2": "value2" }

Task Result

Name
Description

Success : Boolean

True if the operation was successful. False if the operation failed. If optional parameter ThrowExceptionOnErrorResponse is set to true, the task throws an exception if the response from Odoo contains an error. Example: true

Error : String

Error message if the operation failed. Example: Error message

Data : Object

Data returned by the operation in JToken format. You can use dot notation to access the field values. Example: [ { "field1": "value1" }, { "field1": "value2" } ]

Task Changelog

Changelog for Task Frends.Odoo.Request.

[1.1.0] - 2024-08-23

Changed

  • Updated the Newtonsoft.Json package to version 13.0.3.

[1.0.0] - 2024-05-30

Changed

  • Initial implementation of Frends.Odoo.Request

Last updated

Was this helpful?