The following operations are available for this resource.
Http Verb | Operation | ||
---|---|---|---|
GET | Method: Get, URL: ReferenceData/MediaTypes/{id}?filter={filter}&maintenanceMode={maintenanceMode} | Test | |
Get the details of a media type by id. To get the resource only if the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP). |
|||
GET | Method: GetAll, URL: ReferenceData/MediaTypes?filter={filter}&maintenanceMode={maintenanceMode} | Test | |
Get all media types. To get only the resoures for which the user has write/edit access, pass filter="writeonly". To get the resources in maintenance mode(ignore Control Groups), pass maintenanceMode="true". Maintenance mode requires users to have access to the reference tables. (Specified in TX_REFTABLE_USERGROUP). For filtering on specific property value, pass the property name with value as query parameter. If the property is another non primitive object, pass PropertyName.Id and its value as query parameter. |
|||
GET | Method: GetSummaries, URL: ReferenceData/MediaTypes/Summary | Test | |
Get a summary representation of all media types. |
|||
POST | Method: Create, URL: ReferenceData/MediaTypes | Test | |
Create a new media type. |
|||
PUT | Method: Update, URL: ReferenceData/MediaTypes/{id} | Test | |
Update an existing media type. |
|||
DELETE | Method: Delete, URL: ReferenceData/MediaTypes/{id} | Test | |
Delete an existing media type. |