IRPCVaultExtensionMethods.ExecuteExtensionMethodEx
Vault API / standard write session returns metadata structure version
Runs an extension method of a vault application. In new code use RunExtensionMethod.
| Service | Vault extension methods MFiles.IRPCVaultExtensionMethods |
|---|---|
| gRPC method | /MFiles.IRPCVaultExtensionMethods/ExecuteExtensionMethodEx |
| HTTP (mf-http-grpc) | POST /grpc/v1/execute-extension-method-ex |
| Request | ExecuteExtensionMethodExRequest |
| Response | ExecuteExtensionMethodExResponse |
| Book and level | Vault API, standard |
| Kind | write |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | no |
| Returns metadata structure version | yes (in the mfiles-metadata-version-bin trailer) |
| Streaming | none (unary) |
Remarks
- Same as RunExtensionMethod with an application GUID and uncompressed input.
application,extensionandmethodare required; an empty or all-zeroapplicationfails with "The parameter is incorrect.".
Request: ExecuteExtensionMethodExRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
application | string | The GUID of the vault application. |
extension | string | The identifier of the application's extension object. |
instance | string | The identifier of the extension object instance. |
method | string | The name of the method. |
input | string | The input passed to the method. |
Response: ExecuteExtensionMethodExResponse
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
output | string | The output of the method. |
Related methods
- RunExtensionMethod -- Runs a vault extension method, either an event handler method or an application extension method, with optional compression of the input and output.
- ExecuteExtensionMethod -- Runs an event handler method by name. In new code use RunExtensionMethod.