POST webapi/root/Forms?formResultsID={formResultsID}
Links FormResults with Media. Skips Media that did not exist.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
formResultsID | Unique ID of the FormResults into which to link Media objects. Required. |
Define this parameter in the request URI. |
mediaIDList | List of unique IDs of Media linked to FormResults. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[ "1e97bb09-2d5d-4f88-8e97-b5fd84ac497d", "01a919e4-3048-4053-b7ef-7fa06bcf77d2", "123faf36-987d-4473-bf9b-2e2eb58911b9" ]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>1e97bb09-2d5d-4f88-8e97-b5fd84ac497d</guid> <guid>01a919e4-3048-4053-b7ef-7fa06bcf77d2</guid> <guid>123faf36-987d-4473-bf9b-2e2eb58911b9</guid> </ArrayOfguid>
Response Information
Response body formats
application/json, text/json
Sample:
[ null, { "MediaID": "69487366-01d9-42a9-9ac0-52ba2f526d36", "FilePath": "sample string 2", "ThumbnailFilePath": "sample string 3", "FileType": "sample string 4", "Type": "Other", "Title": "sample string 5", "Description": "sample string 6", "NavigateUrl": "sample string 7", "CreatedTime": "2025-05-31T17:37:35.1088152-07:00", "UpdatedTime": "2025-05-31T17:37:35.1088152-07:00", "MediaCategoryID": "59e7eaeb-a91d-4e4e-8046-7f90c27883a1", "IsPublic": true, "IsHidden": true, "IsFileLocked": true, "Views": 1, "Width": 1, "Height": 1, "SiteName": "sample string 10", "Duration": 1, "Order": 1 }, { "MediaID": "69487366-01d9-42a9-9ac0-52ba2f526d36", "FilePath": "sample string 2", "ThumbnailFilePath": "sample string 3", "FileType": "sample string 4", "Type": "Other", "Title": "sample string 5", "Description": "sample string 6", "NavigateUrl": "sample string 7", "CreatedTime": "2025-05-31T17:37:35.1088152-07:00", "UpdatedTime": "2025-05-31T17:37:35.1088152-07:00", "MediaCategoryID": "59e7eaeb-a91d-4e4e-8046-7f90c27883a1", "IsPublic": true, "IsHidden": true, "IsFileLocked": true, "Views": 1, "Width": 1, "Height": 1, "SiteName": "sample string 10", "Duration": 1, "Order": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfMedia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediaLibrarianCore"> <Media i:nil="true" /> <Media> <CreatedTime>2025-05-31T17:37:35.1088152-07:00</CreatedTime> <Description>sample string 6</Description> <Duration>1</Duration> <FilePath>sample string 2</FilePath> <FileType>sample string 4</FileType> <Height>1</Height> <IsFileLocked>true</IsFileLocked> <IsHidden>true</IsHidden> <IsPublic>true</IsPublic> <MediaCategoryID>59e7eaeb-a91d-4e4e-8046-7f90c27883a1</MediaCategoryID> <MediaID>69487366-01d9-42a9-9ac0-52ba2f526d36</MediaID> <NavigateUrl>sample string 7</NavigateUrl> <Order>1</Order> <SiteName>sample string 10</SiteName> <ThumbnailFilePath>sample string 3</ThumbnailFilePath> <Title>sample string 5</Title> <Type>Other</Type> <UpdatedTime>2025-05-31T17:37:35.1088152-07:00</UpdatedTime> <Views>1</Views> <Width>1</Width> </Media> <Media> <CreatedTime>2025-05-31T17:37:35.1088152-07:00</CreatedTime> <Description>sample string 6</Description> <Duration>1</Duration> <FilePath>sample string 2</FilePath> <FileType>sample string 4</FileType> <Height>1</Height> <IsFileLocked>true</IsFileLocked> <IsHidden>true</IsHidden> <IsPublic>true</IsPublic> <MediaCategoryID>59e7eaeb-a91d-4e4e-8046-7f90c27883a1</MediaCategoryID> <MediaID>69487366-01d9-42a9-9ac0-52ba2f526d36</MediaID> <NavigateUrl>sample string 7</NavigateUrl> <Order>1</Order> <SiteName>sample string 10</SiteName> <ThumbnailFilePath>sample string 3</ThumbnailFilePath> <Title>sample string 5</Title> <Type>Other</Type> <UpdatedTime>2025-05-31T17:37:35.1088152-07:00</UpdatedTime> <Views>1</Views> <Width>1</Width> </Media> </ArrayOfMedia>