Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Case Attachments

Attachment configuration and forwarding

Get attachment configuration for a collaboration request

get
/v1/collaboration-requests/{token}/attachments/config
Authorizations
AuthorizationstringRequired

Paste a Bearer JWT here. Two token types are accepted:

Connect1 User Tokens — issued by the Connect1 identity service. Copy the token from your Connect1 session.

Azure AD M2M — use the azureClientCredentials scheme below to get a token, then paste it here.

Path parameters
tokenstringRequired

The token provided by TSANet for the collaboration request

Responses
200

Attachment configuration

application/json
get/v1/collaboration-requests/{token}/attachments/config
GET /v1/collaboration-requests/{token}/attachments/config HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "submitter": {
    "companyId": 1,
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": {}
    }
  },
  "receiver": {
    "companyId": 1,
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": {}
    }
  }
}

Analyze arbitrary data and return a proposed attachment configuration without saving it

post
/v1/collaboration-requests/{token}/attachments/config/https/analyze
Authorizations
AuthorizationstringRequired

Paste a Bearer JWT here. Two token types are accepted:

Connect1 User Tokens — issued by the Connect1 identity service. Copy the token from your Connect1 session.

Azure AD M2M — use the azureClientCredentials scheme below to get a token, then paste it here.

Path parameters
tokenstringRequired

The token provided by TSANet for the collaboration request

Body
Other propertiesanyOptional
Responses
200

Proposed attachment configuration

application/json
domainstringRequiredPattern: ^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$
passwordstringRequired
expirationstring · date-timeRequired
httpsPathstringRequiredPattern: ^(/[^/ ]*)+/?$
httpsPortinteger · int32 · min: 1 · max: 65535Required
post/v1/collaboration-requests/{token}/attachments/config/https/analyze
POST /v1/collaboration-requests/{token}/attachments/config/https/analyze HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}
{
  "domain": "text",
  "password": "text",
  "expiration": "2026-01-01T00:00:00.000Z",
  "httpsPath": "text",
  "httpsPort": 1
}

Update HTTPS attachment configuration details

put
/v1/collaboration-requests/{token}/attachments/config/https
Authorizations
AuthorizationstringRequired

Paste a Bearer JWT here. Two token types are accepted:

Connect1 User Tokens — issued by the Connect1 identity service. Copy the token from your Connect1 session.

Azure AD M2M — use the azureClientCredentials scheme below to get a token, then paste it here.

Path parameters
tokenstringRequired

The token provided by TSANet for the collaboration request

Body
domainstringRequiredPattern: ^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$
passwordstringRequired
expirationstring · date-timeRequired
httpsPathstringRequiredPattern: ^(/[^/ ]*)+/?$
httpsPortinteger · int32 · min: 1 · max: 65535Required
Responses
200

Attachment configuration updated successfully

application/json
put/v1/collaboration-requests/{token}/attachments/config/https
PUT /v1/collaboration-requests/{token}/attachments/config/https HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 108

{
  "domain": "text",
  "password": "text",
  "expiration": "2026-01-01T00:00:00.000Z",
  "httpsPath": "text",
  "httpsPort": 1
}
{
  "submitter": {
    "companyId": 1,
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": {}
    }
  },
  "receiver": {
    "companyId": 1,
    "parameters": {
      "ANY_ADDITIONAL_PROPERTY": {}
    }
  }
}

Forward attachments to collaboration partners

post
/v1/collaboration-requests/{token}/attachments
Authorizations
AuthorizationstringRequired

Paste a Bearer JWT here. Two token types are accepted:

Connect1 User Tokens — issued by the Connect1 identity service. Copy the token from your Connect1 session.

Azure AD M2M — use the azureClientCredentials scheme below to get a token, then paste it here.

Path parameters
tokenstringRequired

The token provided by TSANet for the collaboration request

Body
descriptionstring · max: 500Required

Description of the attachments

filesstring · binary[]Required

Files to forward

Responses
200

Attachments forwarded successfully

application/json
fileNamestring · max: 255Optional
receiverStatusstring · enumOptionalPossible values:
receiverMessagestring · max: 1000Optional
submitterStatusstring · enumOptionalPossible values:
submitterMessagestring · max: 1000Optional
completeSuccessbooleanOptional
partialSuccessbooleanOptional
post/v1/collaboration-requests/{token}/attachments
POST /v1/collaboration-requests/{token}/attachments HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 41

{
  "description": "text",
  "files": [
    "binary"
  ]
}
[
  {
    "fileName": "text",
    "receiverStatus": "SUCCESS",
    "receiverMessage": "text",
    "submitterStatus": "SUCCESS",
    "submitterMessage": "text",
    "completeSuccess": true,
    "partialSuccess": true
  }
]

Last updated