GET api/media/mediafile?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MediaFile| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| JobID | integer |
None. |
|
| ProducerID | integer |
None. |
|
| Approved | integer |
None. |
|
| DateTimeAdded | date |
None. |
|
| DateTimeUpdated | date |
None. |
|
| SiteID | integer |
None. |
|
| ProductID | integer |
None. |
|
| ProducerCode | string |
None. |
|
| ProductTypeCode | string |
None. |
|
| EncoderStatusId | integer |
None. |
|
| FileType | string |
None. |
|
| UploadedFileName | string |
None. |
|
| ZipFileName | string |
None. |
|
| HasMainImage | integer |
None. |
|
| FullFilePath | string |
None. |
|
| ContentLength | integer |
None. |
|
| FileHash | string |
None. |
|
| VideoCropPolicy | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"JobID": 2,
"ProducerID": 3,
"Approved": 4,
"DateTimeAdded": "2025-10-25T19:21:04.9234606-04:00",
"DateTimeUpdated": "2025-10-25T19:21:04.9234606-04:00",
"SiteID": 1,
"ProductID": 1,
"ProducerCode": "sample string 6",
"ProductTypeCode": "sample string 7",
"EncoderStatusId": 8,
"FileType": "sample string 9",
"UploadedFileName": "sample string 10",
"ZipFileName": "sample string 11",
"HasMainImage": 1,
"FullFilePath": "sample string 12",
"ContentLength": 1,
"FileHash": "sample string 13",
"VideoCropPolicy": 14
}
application/xml, text/xml
Sample:
<MediaFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/salem.cp.webapi.DataModels.Media"> <Approved>4</Approved> <ContentLength>1</ContentLength> <DateTimeAdded>2025-10-25T19:21:04.9234606-04:00</DateTimeAdded> <DateTimeUpdated>2025-10-25T19:21:04.9234606-04:00</DateTimeUpdated> <EncoderStatusId>8</EncoderStatusId> <FileHash>sample string 13</FileHash> <FileType>sample string 9</FileType> <FullFilePath>sample string 12</FullFilePath> <HasMainImage>1</HasMainImage> <JobID>2</JobID> <ProducerCode>sample string 6</ProducerCode> <ProducerID>3</ProducerID> <ProductID>1</ProductID> <ProductTypeCode>sample string 7</ProductTypeCode> <SiteID>1</SiteID> <UploadedFileName>sample string 10</UploadedFileName> <VideoCropPolicy>14</VideoCropPolicy> <ZipFileName>sample string 11</ZipFileName> <id>1</id> </MediaFile>