Related Materials REST Endpoints

Learning: Digital Learning/Related Materials
The relatedMaterials resource is used to add attachments to the learning parent resource, as well as to edit, view, and delete the attachments. Details include attached document ID, file name, file URL, file title, and description.
Create a related materials item
Method: post
Path: /hcmRestApi/resources/11.13.18.05/digitalLearning/{digitalLearningUniqID}/child/relatedMaterials
Delete a related materials item
Method: delete
Path: /hcmRestApi/resources/11.13.18.05/digitalLearning/{digitalLearningUniqID}/child/relatedMaterials/{relatedMaterialsUniqID}
Get a related materials item
Method: get
Path: /hcmRestApi/resources/11.13.18.05/digitalLearning/{digitalLearningUniqID}/child/relatedMaterials/{relatedMaterialsUniqID}
Get all related materials items
Method: get
Path: /hcmRestApi/resources/11.13.18.05/digitalLearning/{digitalLearningUniqID}/child/relatedMaterials
Update a related materials item
Method: patch
Path: /hcmRestApi/resources/11.13.18.05/digitalLearning/{digitalLearningUniqID}/child/relatedMaterials/{relatedMaterialsUniqID}