GET /api/integration/journalpost/{jpid}/attachments

List all files for a given journalpost

Parameters

Name In Description Required Type
jpId path Journalpost identifier true integer

Responses

Code Returns Type
200 OK Acos.WebSak.Pluss.Services.Integration.Models.JpFile[]
401 Unauthorized - Missing or invalid access token
403 Forbidden - Provided access token does not permit usage of this API or data
Response Example
[{        
        "attachmentType": 
            { 
    
            },
        "name":"string",
        "versions": 
            [{ 
               "versionNumber": "integer",
                "variants": "array"
        }]
    ,
        "activeFile": 
            { 
               "id": "integer",
                "variantCode": "string",
                "variantDescription": "string",
                "fileName": "string",
                "contentType": "string",
                "downloadUri": "string",
                "hasFile": "boolean"
            }
}]