Session - Close

Scope

Delete file processing session and related documents from memory.

Description

  1.  Deleting files stored and created in the file processing session.
  2.  Deleting the file processing session directory.

Request

The Service provider's application sends the following GET request using TLS:

GET /api-session/v1.0/{sessionId}/close
PlopertyTypeUsageDescription
sessionId
String (64)MandatorySession identifier

Authorization

The request must contain an Authorization header with an OAuth Introspect access token obtained via Integration Platform a Service provider's credentials grant flow.

Unable to render {include} The included page could not be found.

Example

GET /api-session/v1.0/77740b301f0880ef498cb1e474e8060b3e538cfeea8ebf508c2bad4b72b56a87/close HTTP/1.1
Authorization: Bearer a477b3a3366768c07e4c458f518711b4b351e8d2c2f0f78a1524e4d3efd00603
Host: signapi-prep.eparaksts.lv

Response

JSON object:

{
    "data": "Session {sessionId} closed"
}
PropertyTypeDescription
sessionId
StringFile processing session identifier


Example

{
    "data": "Session 77740b301f0880ef498cb1e474e8060b3e538cfeea8ebf508c2bad4b72b56a87 closed"
}




  • No labels