Work log

Add

Add work log

*Method: POST

  • URL:/rest/flowmanage/api/omdata-worklog/create/

  • Input parameters (postbody): The sample format is as follows.

All APIs must obtain a security code (security) before using it. For how to obtain it, please refer to the [REST API > Security Code] chapter.

{
	"security" : "<security code>",
	"omflow_restapi" : 1,
	"api_path" : "<api path, required>",
	"data_no" : "<order number, required>",
	"data_id" : "<data_id, required>",
	"content" : "<Work log content, optional>",
}

API return example is as follows:

{
    "status": 200,
    "message": "Creation successful.",
    "result": null
}

List

List form work log

*Method: POST

  • URL:/rest/flowmanage/api/omdata-worklog/list/

  • Input parameters (postbody): The sample format is as follows.

{
	"security" : "<security code>",
	"omflow_restapi" : 1,
	"api_path" : "<api path, required>",
	"data_no" : "<order number, required>",
	"data_id" : "<data_id, required>"
}

API return example is as follows:

{
    "status": 200,
    "message": "Search successfully.",
    "result": [
        {
            "id": 1,
            "flow_uuid": "6571a0df-d6a5-4458-97bd-1a816698bbce",
            "create_user_id__nick_name": "<Work log content>",
            "content": "<Work log content>",
            "createtime": "<create time>",
            "substitute_id__nick_name": null
        },.....
    ]
}

Last updated