Create Enrollment Attachment

post
Path parameters
enrollmentIdstringRequired
Body
filestring · binaryOptional
Responses
201
Created
application/json
post
POST /public/v1/program/enrollments/{enrollmentId}/attachments HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 67

{
  "attachment": {
    "Name": "text",
    "Description": "text"
  },
  "file": "binary"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-07-25T19:51:51.303Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-07-25T19:51:51.303Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "description": "text",
  "type": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "enrollment": {
    "id": "text",
    "applicableTo": "text",
    "type": "text",
    "eligibility": {
      "client": true,
      "partner": true
    },
    "status": "text"
  }
}

Last updated

Was this helpful?