IRPCWebCompanionTaskOperation.AddWebCompanionTask

View as Markdown

Server integration API / specialized internal: not for applications write session

Stores a task for M-Files Web Companion and returns the task ID.

ServiceWeb companion tasks MFiles.IRPCWebCompanionTaskOperation
gRPC method/MFiles.IRPCWebCompanionTaskOperation/AddWebCompanionTask
HTTP (mf-http-grpc)POST /grpc/v1/add-web-companion-task
RequestAddWebCompanionTaskRequest
ResponseAddWebCompanionTaskResponse
Book and levelServer integration API, specialized
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

For M-Files components only. M-Files Web calls it before handing a file over to M-Files Web Companion. Applications should not call it.

Request: AddWebCompanionTaskRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
add_web_companion_requestWebCompanionTaskThe Web Companion Task information.
add_web_companion_request.app_idstringWeb Companion App ID.
add_web_companion_request.datastringDisplay string of the task data.
add_web_companion_request.action_typeWebCompanionActionTypeWeb Companion Action type.Values: WEB_COMPANION_ACTION_TYPE_VIEW (0), WEB_COMPANION_ACTION_TYPE_EDIT (1), WEB_COMPANION_ACTION_TYPE_CHECKIN (2), WEB_COMPANION_ACTION_TYPE_SAVE_FILE_EXTENSION (3), WEB_COMPANION_ACTION_TYPE_CO_AUTHOR (4).

Response: AddWebCompanionTaskResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
idint64The ID of the stored task.