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:
[ "f1dd80d2-4b79-4c91-8dfc-b6049506277b", "dd8e089d-45d8-45df-9d97-33c4e36e1798", "a09c525b-c208-4b50-8207-2bdd6dbf5616" ]
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>f1dd80d2-4b79-4c91-8dfc-b6049506277b</guid> <guid>dd8e089d-45d8-45df-9d97-33c4e36e1798</guid> <guid>a09c525b-c208-4b50-8207-2bdd6dbf5616</guid> </ArrayOfguid>
Response Information
Response body formats
application/json, text/json
Sample:
[ null, { "MediaID": "918365ff-a27d-45ae-9eb7-73308dfde70c", "FilePath": "sample string 2", "ThumbnailFilePath": "sample string 3", "FileType": "sample string 4", "Type": "Other", "Title": "sample string 5", "Description": "sample string 6", "CreatedTime": "2024-05-17T20:45:58.5974155-07:00", "UpdatedTime": "2024-05-17T20:45:58.5974155-07:00", "MediaCategoryID": "0d57c5eb-c7ee-47a5-8832-229a2e16134e", "IsPublic": true, "IsHidden": true, "IsFileLocked": true, "Views": 1, "Width": 1, "Height": 1, "SiteName": "sample string 9", "Duration": 1, "Order": 1 }, { "MediaID": "918365ff-a27d-45ae-9eb7-73308dfde70c", "FilePath": "sample string 2", "ThumbnailFilePath": "sample string 3", "FileType": "sample string 4", "Type": "Other", "Title": "sample string 5", "Description": "sample string 6", "CreatedTime": "2024-05-17T20:45:58.5974155-07:00", "UpdatedTime": "2024-05-17T20:45:58.5974155-07:00", "MediaCategoryID": "0d57c5eb-c7ee-47a5-8832-229a2e16134e", "IsPublic": true, "IsHidden": true, "IsFileLocked": true, "Views": 1, "Width": 1, "Height": 1, "SiteName": "sample string 9", "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>2024-05-17T20:45:58.5974155-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>0d57c5eb-c7ee-47a5-8832-229a2e16134e</MediaCategoryID> <MediaID>918365ff-a27d-45ae-9eb7-73308dfde70c</MediaID> <Order>1</Order> <SiteName>sample string 9</SiteName> <ThumbnailFilePath>sample string 3</ThumbnailFilePath> <Title>sample string 5</Title> <Type>Other</Type> <UpdatedTime>2024-05-17T20:45:58.5974155-07:00</UpdatedTime> <Views>1</Views> <Width>1</Width> </Media> <Media> <CreatedTime>2024-05-17T20:45:58.5974155-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>0d57c5eb-c7ee-47a5-8832-229a2e16134e</MediaCategoryID> <MediaID>918365ff-a27d-45ae-9eb7-73308dfde70c</MediaID> <Order>1</Order> <SiteName>sample string 9</SiteName> <ThumbnailFilePath>sample string 3</ThumbnailFilePath> <Title>sample string 5</Title> <Type>Other</Type> <UpdatedTime>2024-05-17T20:45:58.5974155-07:00</UpdatedTime> <Views>1</Views> <Width>1</Width> </Media> </ArrayOfMedia>