v1

latestOpenAPI 3.0.12026-08-0674476716.0 KB
Sub-TPPs

Upload SubTpp document

The POST /member/sub-tpps/{sub_tpp_id}/upload-document/{document_id} endpoint upload the document for SubTpp.

post/member/sub-tpps/{sub_tpp_id}/upload-document/{document_id}

Path parameters

sub_tpp_idstring required
Example:8d54f066-c14a-47c0-b58b-fec6b0ed6b4c

This id specifies the sub-TPP for which the document will be loaded.

document_idstring required
Example:8d54f066-c14a-47c0-b58b-fec6b0ed6b4c

This id specifies the document for uploading.

Request body

file_typestring required

Type or format of the uploaded file. Typically corresponds to file extension or MIME type.

Example request

{
  "file_type": "application/pdf",
  "file": {
    "type": "image/png",
    "name": "document.png"
  }
}

Response

Successful response

EmptyResponse required

No data returned in the successful response.