# Get Enrollment Attachment

## GET /public/v1/program/enrollments/{enrollmentId}/attachments/{id}

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"Marketplace API","version":"5.0.764-gbc924a47"},"servers":[{"url":"https://api.s1.today"}],"paths":{"/public/v1/program/enrollments/{enrollmentId}/attachments/{id}":{"get":{"tags":["EnrollmentAttachments"],"parameters":[{"name":"enrollmentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"select","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"audit":{"type":"object","allOf":[{"type":"object","properties":{"created":{"allOf":[{"type":"object","properties":{"at":{"type":"string","format":"date-time","nullable":true},"by":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1program~1enrollments~1{enrollmentId}~1attachments~1{id}/get/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties"},"additionalProperties":false}]},"$meta":{"allOf":[{"type":"object","properties":{"omitted":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true}},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}],"nullable":true},"updated":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1program~1enrollments~1{enrollmentId}~1attachments~1{id}/get/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}]},"$meta":{"type":"object","allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1program~1enrollments~1{enrollmentId}~1attachments~1{id}/get/responses/200/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties/by/allOf/0/properties/$meta/allOf/0/properties"},"additionalProperties":false}]},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"filename":{"type":"string"},"size":{"type":"integer","format":"int32"},"contentType":{"type":"string"},"enrollment":{"type":"object","allOf":[{"type":"object","properties":{"id":{"type":"string"},"applicableTo":{"type":"string","allOf":[{"enum":["Buyer","Licensee"],"type":"string"}]},"type":{"type":"string","allOf":[{"enum":["Change","New"],"type":"string"}]},"eligibility":{"type":"object","allOf":[{"type":"object","properties":{"client":{"type":"boolean"},"partner":{"type":"boolean"}},"additionalProperties":false}]},"status":{"type":"string","allOf":[{"enum":["Processing","Querying","Completed","Failed"],"type":"string"}]}},"additionalProperties":false}]}},"additionalProperties":false}}}},"301":{"description":"Moved Permanently"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}}}}}}}}}}
```
