| Required role: | REGISUserRole | 
| POST | /Sections/{uuid}/Documents | 
|---|
| Name | Parameter | Data Type | Required | Description | 
|---|---|---|---|---|
| uuid | path | string | No | 
| Name | Parameter | Data Type | Required | Description | 
|---|---|---|---|---|
| uuid | form | string | No | |
| course_name | form | string | No | |
| title | form | string | No | |
| term | form | string | No | |
| reporting_term | form | string | No | |
| assigned_documents | form | List<DocumentResponse> | No | |
| available_documents | form | List<DocumentResponse> | No | 
| Name | Parameter | Data Type | Required | Description | 
|---|---|---|---|---|
| code | form | string | No | |
| document_name | form | string | No | |
| document_description | form | string | No | 
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Sections/{uuid}/Documents HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String","course_name":"String","title":"String","term":"String","reporting_term":"String","assigned_documents":[{"code":"String","document_name":"String","document_description":"String"}],"available_documents":[{"code":"String","document_name":"String","document_description":"String"}]}