This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

callback url via REST-API

Hi,
I want to connect M-Files to a 3th party document signing API. When the signing is done, a callback link of my choice in called. Is it possible to set a specific object to a specific workflowstate via a simple single url?
Parents
  • You may be able to set a single property in one call (developer.m-files.com/.../), but I think that you have to manually check the object out first, then set the property, then check it in again. Which perhaps won't work for your scenario.

    Maybe better would be to expose a Vault Extension Method on the vault and then call that (developer.m-files.com/.../) from your remote system. This VEM can then perform whatever API steps are required to update the object.

    Note: typically REST API calls need an authentication token. If you can't add multiple requests then you can't do this. In that situation it may be easier to use the X-Username (etc) HTTP headers (developer.m-files.com/.../), but please only do so as a last resort over HTTPS for obvious reasons.

    Regards,

    Craig.
Reply
  • You may be able to set a single property in one call (developer.m-files.com/.../), but I think that you have to manually check the object out first, then set the property, then check it in again. Which perhaps won't work for your scenario.

    Maybe better would be to expose a Vault Extension Method on the vault and then call that (developer.m-files.com/.../) from your remote system. This VEM can then perform whatever API steps are required to update the object.

    Note: typically REST API calls need an authentication token. If you can't add multiple requests then you can't do this. In that situation it may be easier to use the X-Username (etc) HTTP headers (developer.m-files.com/.../), but please only do so as a last resort over HTTPS for obvious reasons.

    Regards,

    Craig.
Children
No Data