Request
Frends Task for making requests to Odoo API.
Last updated
Was this helpful?
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
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" }
OdooUrl : String
Odoo URL.
Default: https://example.com
Example: https://example.com
Username : String
Username to authenticate with.
Default: john.doe@example.com
Example: john.doe@example.com
🗝Password : String
Password to authenticate with.
Default: -
Example: Password!
Database : String
Odoo database.
Default: MyDatabase
Example: MyDatabase
ThrowExceptionOnErrorResponse : Boolean
If true, the task throws an exception if the response from Odoo contains an error.
If false, the task returns the error message in the result.
Default: False
Example: Example of the parameter value
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" } ]
Changelog for Task Frends.Odoo.Request.
Updated the Newtonsoft.Json package to version 13.0.3.
Initial implementation of Frends.Odoo.Request
Last updated
Was this helpful?
Was this helpful?

