REST API Synchronous Mode
In this format, the response to a signature request is the detail of the signature operation which, when successful, means returning the signed documents.
Architecture
The Sign’Stash Proxy components are in gray background, the Sign’Stash SaaS is on a green background, and the blue background respects the client service.
Docker Command
Start the Sign’Stash Proxy service by setting the docker command according to the following format:
docker run -d --mount source=vol[UID],target=/tmp -p [PORT]:8080 --memory=[MEMORY] [IMAGE_ID] --einvoice-integration-client.service.domain=[SAAS_DOMAIN] --einvoice-integration-client.rest.provider.proxy.hostname=[PROXY_HOSTNAME] --einvoice-integration-client.rest.provider.proxy.port=[PROXY_PORT]
Please refer to Docker run documentation for additional information
Execution example using staging environment:
docker run -d --mount source=vol1,target=/tmp -p 8081:8080 --memory=4g teammust/einvoice:integration-client-ws-f8ebf1180e7f430a147b84536e523fe85bdb362d-80 --einvoice-integration-client.service.domain=https://staging.must.digital/
API Methods
The methods supporting this mode are:
Full API REST Swagger documentation is exposed by your locally deployed docker service in:
http://[HOST]:[PORT]/signstash/einvoice-integration-client-ws/swagger-ui.html
Sequence diagram
Typical interactions between systems in this mode are presented in the following sequence diagram:
Response handling
General response handling overview: