Resource type: agentslog
Modifies an agents log or activity entry. The agents log / activity ID has to be specified as resource ID. A list of kind of actions and action types can be found in enterprise under “Extras >> Settings >> Administration >> Action types”. The german names are valid for the API.
Relations (estate, address, task, project, file) can already be modified with the “Modify relations” call.
Parameters:
actionkind
STRING. Kind of action (Aktionsart).actiontype
STRING. Action type (Aktionstyp).origincontact
STRING. Type of contact (Herkunft Kontakt). Values can be found in enterprise under “Extras >> Settings >> Administration >> Multiselect >> Module: address management” >> multiselectfield: type of contact” in the column “field”.cost
FLOAT. Costsnote
STRING. Note (Bemerkung).duration
INTEGER . Duration. Specify the value in seconds.features
STRING. Features (Characteristic / Merkmal). Values can be found in enterprise under “Extras >> Settings >> Administration >> Multiselect >> Module: Agent´s log” >> multiselectfield: Characteristic” in the column “field”.datetime
STRING. Date and time (Y-m-d H:i:s). Activity Date/Time; not the ‘modified on’ date.
Example: Agents log entry for an appointment
{
"actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:modify",
"resourceid": "267",
"identifier": "",
"resourcetype": "agentslog",
"parameters": {
"data": {
"actionkind": "Termin",
"actiontype": "Beratung",
"origincontact": "immobilienscout24_system",
"cost": 179.99,
"note": "Wertermittlung der Immobilie",
"duration": 7200,
"features": [
"invoiceOpen",
"property_valuation"
],
"datetime": "2025-11-17 15:30:25"
}
}
}
Response:
...
"response": {
"results": [
{
"actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:modify",
"resourceid": "267",
"resourcetype": "agentslog",
"cacheable": false,
"identifier": "",
"data": {
"meta": {
"cntabsolute": null
},
"records": [
{
"id": 267,
"type": "agentsLog",
"elements": {
"Aktionsart": "Termin",
"Aktionstyp": "Beratung",
"HerkunftKontakt": "immobilienscout24_system",
"Kosten": "179.99",
"Bemerkung": "Wertermittlung der Immobilie",
"dauer": "7200",
"merkmal": "|invoiceOpen||property_valuation|",
"Datum": "2025-11-17 15:30:25",
"Uhrzeit": "15:30:25"
}
}
]
},
"status": {
"errorcode": 0,
"message": "OK"
}
}
]
}
...
