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.s1.today
Content-Type: multipart/form-data
Accept: */*
Content-Length: 67

{
  "attachment": {
    "Name": "text",
    "Description": "text"
  },
  "file": "binary"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-16T05:40:28.847Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-16T05:40:28.847Z",
      "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?