Returns a set of data items of type trainings.
GET /api/default/trainings
None
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
[
{
"LastModified": "2026-11-11T10:11:45.1912245Z",
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"DateCreated": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "c214b926-1a24-4c86-a197-b8f67b53abfc",
"TrainingStartDate": "2026-11-11T10:11:45.1912245Z",
"regionscountries": "44d61143-7657-4dad-bf1b-e83167f3e986",
"trainingtypes": "545112f7-3138-45d6-b67d-453160b4a5ab",
"Overview": "sample string 12",
"trainingeligibility": "b0229e57-e403-4aab-aaf2-ca7c4821204b",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-11-11T10:11:45.1912245Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "0f1f3ca6-bd57-43ed-b969-7494981a0f5f",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-11-11T10:11:45.1912245+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
},
{
"LastModified": "2026-11-11T10:11:45.1912245Z",
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"DateCreated": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "c214b926-1a24-4c86-a197-b8f67b53abfc",
"TrainingStartDate": "2026-11-11T10:11:45.1912245Z",
"regionscountries": "44d61143-7657-4dad-bf1b-e83167f3e986",
"trainingtypes": "545112f7-3138-45d6-b67d-453160b4a5ab",
"Overview": "sample string 12",
"trainingeligibility": "b0229e57-e403-4aab-aaf2-ca7c4821204b",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-11-11T10:11:45.1912245Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "0f1f3ca6-bd57-43ed-b969-7494981a0f5f",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-11-11T10:11:45.1912245+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}
]Gets trainings item by id.
GET /api/default/trainings({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"LastModified": "2026-11-11T10:11:45.1912245Z",
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"DateCreated": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "307c45f5-f70f-4df0-8950-ee28f5c118c5",
"TrainingStartDate": "2026-11-11T10:11:45.1912245Z",
"regionscountries": "2e823365-2317-41e9-8aa4-1cf6e07d93ed",
"trainingtypes": "366512da-dfc8-4ba5-89c7-b73fc4c36d44",
"Overview": "sample string 12",
"trainingeligibility": "1a9edb07-a47c-4e84-b3f7-6bbfebb1fbd0",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-11-11T10:11:45.1912245Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "9426bd5c-346e-4227-96f3-4c1a2ff1f24f",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-11-11T10:11:45.1912245+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}Gets Id property from trainings item.
GET /api/default/trainings({key})/property
| Name | Description | Type | Additional Information |
| key | System.Guid | Required | |
| property | System.String | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| Id | System.Guid | Read only: False |
application/json
{
"Id": "9b25eab2-5de6-4d42-b31e-9ff3ef5e8498"
}Creates a trainings item.
POST /api/default/trainings
None
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "ff5cac40-ebe4-4f7a-bbd3-caa88d9c7232",
"TrainingStartDate": "2026-11-11T10:11:45.1912245Z",
"regionscountries": "5bc635dc-9e1e-494c-8a44-2729cc7d8948",
"trainingtypes": "3476116a-bdc1-49c0-b8f2-f049bdacaeb8",
"Overview": "sample string 9",
"trainingeligibility": "2c0cf4b1-33b4-456e-974d-ee47ab9fe7ca",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-11-11T10:11:45.1912245Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "6ad5d62a-5bf4-4e25-925b-25ccfd30b2aa",
"IsMultipart": true,
"Summary": "sample string 17"
}Method can return success code: Created - 201 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"LastModified": "2026-11-11T10:11:45.1912245Z",
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"DateCreated": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 5",
"UrlName": "sample string 6",
"ItemDefaultUrl": "sample string 7",
"healthtopics": "86b4e3e5-3d02-48b6-868d-88ca41c63961",
"TrainingStartDate": "2026-11-11T10:11:45.1912245Z",
"regionscountries": "7c7ea175-fc43-4bd8-9e5c-384c90fd9fdd",
"trainingtypes": "4e340fa0-b2d2-4a26-b686-a30b9abb3ff3",
"Overview": "sample string 12",
"trainingeligibility": "5d9aaacf-2d51-41ae-aac4-66a10e8070ea",
"Title": "sample string 14",
"ContactInformation": "sample string 15",
"TrainingEndDate": "2026-11-11T10:11:45.1912245Z",
"SignUpUrl": "sample string 17",
"publishingoffices": "f1bde444-aecc-4d4a-be83-312689f1ddfd",
"IsMultipart": true,
"Summary": "sample string 20",
"Provider": "sample string 21",
"Comments": {
"Name": "sample string 1",
"Message": "sample string 2",
"DateCreated": "2026-11-11T10:11:45.1912245+00:00",
"ProfilePictureUrl": "sample string 4",
"ProfilePictureThumbnailUrl": "sample string 5"
}
}Partial update for trainings item.
PATCH /api/default/trainings({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "9ba4a68a-0dee-4cbc-8b30-f710511de8bf",
"TrainingStartDate": "2026-11-11T10:11:45.1912245Z",
"regionscountries": "44542884-6568-4e87-ae35-c72f0aa487f0",
"trainingtypes": "62332aac-8638-4fbd-8409-27ad641fea17",
"Overview": "sample string 9",
"trainingeligibility": "9f02e3fa-9fcc-4fc0-ae02-6d710cf25b16",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-11-11T10:11:45.1912245Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "c90944ba-ba71-4323-b7f5-fc91fff16617",
"IsMultipart": true,
"Summary": "sample string 17"
}Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Full update for trainings item.
PUT /api/default/trainings({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| healthtopics | System.Guid | Read only: False | |
| TrainingStartDate | System.DateTimeOffset | Read only: False | |
| regionscountries | System.Guid | Read only: False | |
| trainingtypes | System.Guid | Read only: False | |
| Overview | System.String | Read only: False | |
| trainingeligibility | System.Guid | Read only: False | |
| Title | System.String | Read only: False | |
| ContactInformation | System.String | Read only: False | |
| TrainingEndDate | System.DateTimeOffset | Read only: False | |
| SignUpUrl | System.String | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| IsMultipart | System.Boolean | Read only: False | |
| Summary | System.String | Read only: False | |
| Provider | System.String | Read only: True | |
| Comments | Telerik.Sitefinity.Services.Comments.CommentContract | Read only: True |
application/json
{
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 3",
"UrlName": "sample string 4",
"healthtopics": "a5226811-b5ad-404b-ae4f-9a5b13b11d16",
"TrainingStartDate": "2026-11-11T10:11:45.1912245Z",
"regionscountries": "2435ae7b-31c6-416d-81b3-708f5be43994",
"trainingtypes": "bfca5a58-34b7-44dd-93bc-d42bc40826fa",
"Overview": "sample string 9",
"trainingeligibility": "09953837-56cd-4a69-9210-34916d090654",
"Title": "sample string 11",
"ContactInformation": "sample string 12",
"TrainingEndDate": "2026-11-11T10:11:45.1912245Z",
"SignUpUrl": "sample string 14",
"publishingoffices": "ebdfcf3e-5c55-4ff5-9b96-08df19c05a9e",
"IsMultipart": true,
"Summary": "sample string 17"
}Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Deletes a trainings item by Id.
DELETE /api/default/trainings({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Returns a set of related items of type MainImage from trainings item.
GET /api/default/trainings({key})/MainImage
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| LastModified | System.DateTimeOffset | Read only: True | |
| PublicationDate | System.DateTimeOffset | Read only: False | |
| Title | System.String | Read only: False | |
| Description | System.String | Read only: False | |
| DateCreated | System.DateTimeOffset | Read only: True | |
| IncludeInSitemap | System.Boolean | Read only: False | |
| SystemSourceKey | System.String | Read only: False | |
| Ordinal | System.Single | Read only: False | |
| UrlName | System.String | Read only: False | |
| ItemDefaultUrl | System.String | Read only: True | |
| Author | System.String | Read only: False | |
| Extension | System.String | Read only: True | |
| MimeType | System.String | Read only: True | |
| TotalSize | System.Int64 | Read only: True | |
| regionscountries | System.Guid | Read only: False | |
| publishingoffices | System.Guid | Read only: False | |
| events | System.Guid | Read only: False | |
| targets | System.Guid | Read only: False | |
| Category | System.Guid | Read only: False | |
| imagetypes | System.Guid | Read only: False | |
| JoomlaArticleId | System.String | Read only: False | |
| departmentaltargets | System.Guid | Read only: False | |
| stakeholders | System.Guid | Read only: False | |
| Tags | System.Guid | Read only: False | |
| healthtopics | System.Guid | Read only: False | |
| targetaudiences | System.Guid | Read only: False | |
| IsOptimized | System.Boolean | Read only: False | |
| OptImgStatus | System.String | Read only: False | |
| Width | System.Int32 | Read only: True | |
| Height | System.Int32 | Read only: True | |
| AlternativeText | System.String | Read only: False | |
| FolderId | System.Guid | Read only: False | |
| ParentId | System.Guid | Read only: False | |
| Provider | System.String | Read only: True | |
| Url | System.String | Read only: True | |
| ThumbnailUrl | System.String | Read only: True | |
| Thumbnails | Telerik.Sitefinity.Modules.Libraries.Web.Services.Extensibility.ThumbnailModel | Read only: True | |
| IsDamMedia | System.Boolean | Read only: True |
application/json
[
{
"LastModified": "2026-11-11T10:11:45.1912245Z",
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 7",
"Ordinal": 8.1,
"UrlName": "sample string 9",
"ItemDefaultUrl": "sample string 10",
"Author": "sample string 11",
"Extension": "sample string 12",
"MimeType": "sample string 13",
"TotalSize": 14,
"regionscountries": "d0378725-fd1a-4d31-912c-c730dc51a4d9",
"publishingoffices": "02bdd162-8179-4962-af1c-52f30d3ad0ae",
"events": "ea3feafd-82ec-4d7f-832a-b98605047ba5",
"targets": "8e4d8b54-5826-40f8-b81a-a8f05b7c970d",
"Category": "054df95c-1410-470a-8709-015974297aaf",
"imagetypes": "55376c69-3924-4c7b-ac63-ad744807b508",
"JoomlaArticleId": "sample string 21",
"departmentaltargets": "27df0940-e2f6-458f-af9d-35ad7f369c65",
"stakeholders": "906413ae-52bd-4269-885d-667cbf283b62",
"Tags": "fe9e87c1-998e-4435-8e57-8556e9e5c5bb",
"healthtopics": "0449c2d5-49f6-4c1f-a8eb-4318af1524b9",
"targetaudiences": "7a875310-c613-47ab-92e4-cfaf1e254b9d",
"IsOptimized": true,
"OptImgStatus": "sample string 28",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "e1762b43-2677-4c8b-ba6f-57ae38a8ad26",
"ParentId": "4de4b0d2-277b-4877-8505-22213c881fcb",
"Provider": "sample string 34",
"Url": "sample string 35",
"ThumbnailUrl": "sample string 36",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3,
"Height": 4,
"MimeType": "sample string 5"
},
"IsDamMedia": true
},
{
"LastModified": "2026-11-11T10:11:45.1912245Z",
"PublicationDate": "2026-11-11T10:11:45.1912245Z",
"Title": "sample string 3",
"Description": "sample string 4",
"DateCreated": "2026-11-11T10:11:45.1912245Z",
"IncludeInSitemap": true,
"SystemSourceKey": "sample string 7",
"Ordinal": 8.1,
"UrlName": "sample string 9",
"ItemDefaultUrl": "sample string 10",
"Author": "sample string 11",
"Extension": "sample string 12",
"MimeType": "sample string 13",
"TotalSize": 14,
"regionscountries": "d0378725-fd1a-4d31-912c-c730dc51a4d9",
"publishingoffices": "02bdd162-8179-4962-af1c-52f30d3ad0ae",
"events": "ea3feafd-82ec-4d7f-832a-b98605047ba5",
"targets": "8e4d8b54-5826-40f8-b81a-a8f05b7c970d",
"Category": "054df95c-1410-470a-8709-015974297aaf",
"imagetypes": "55376c69-3924-4c7b-ac63-ad744807b508",
"JoomlaArticleId": "sample string 21",
"departmentaltargets": "27df0940-e2f6-458f-af9d-35ad7f369c65",
"stakeholders": "906413ae-52bd-4269-885d-667cbf283b62",
"Tags": "fe9e87c1-998e-4435-8e57-8556e9e5c5bb",
"healthtopics": "0449c2d5-49f6-4c1f-a8eb-4318af1524b9",
"targetaudiences": "7a875310-c613-47ab-92e4-cfaf1e254b9d",
"IsOptimized": true,
"OptImgStatus": "sample string 28",
"Width": 29,
"Height": 30,
"AlternativeText": "sample string 31",
"FolderId": "e1762b43-2677-4c8b-ba6f-57ae38a8ad26",
"ParentId": "4de4b0d2-277b-4877-8505-22213c881fcb",
"Provider": "sample string 34",
"Url": "sample string 35",
"ThumbnailUrl": "sample string 36",
"Thumbnails": {
"Title": "sample string 1",
"Url": "sample string 2",
"Width": 3,
"Height": 4,
"MimeType": "sample string 5"
},
"IsDamMedia": true
}
]Add MainImage relation to trainings item.
POST /api/default/trainings({key})/MainImage/$ref
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
None
application/json
{
"@odata.id": "http://host/route/service/type(key)"
}Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Delete set of related items of type MainImage from trainings item.
DELETE /api/default/trainings({key})/MainImage/$ref
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.