POST api/v1/Reports/VideoLibrary/AddNewVideo

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

VideoLibrary
NameDescriptionTypeAdditional information
VideoId

integer

None.

AssetId

string

None.

MediaServiceId

globally unique identifier

None.

Name

string

None.

BlobVideoUrl

string

None.

PublishedVideoUrl

string

None.

ProgressiveDownloadUrl

string

None.

VideoUploadStatus

string

None.

VideoDuration

time interval

None.

IsVideoEncrypted

boolean

None.

TenantId

integer

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

VideoThumbnailBlobUrl

string

None.

VideoCreator

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VideoId": 1,
  "AssetId": "sample string 2",
  "MediaServiceId": "ac87dec0-17e1-41ff-8ac0-decb760bb7e7",
  "Name": "sample string 4",
  "BlobVideoUrl": "sample string 5",
  "PublishedVideoUrl": "sample string 6",
  "ProgressiveDownloadUrl": "sample string 7",
  "VideoUploadStatus": "sample string 8",
  "VideoDuration": "00:00:00.1234567",
  "IsVideoEncrypted": true,
  "TenantId": 10,
  "CreatedDate": "2024-09-09T15:00:53.6371986Z",
  "CreatedBy": 12,
  "ModifiedDate": "2024-09-09T15:00:53.6371986Z",
  "ModifiedBy": 14,
  "VideoThumbnailBlobUrl": "sample string 15",
  "VideoCreator": "sample string 16"
}

text/html

Sample:
{"VideoId":1,"AssetId":"sample string 2","MediaServiceId":"ac87dec0-17e1-41ff-8ac0-decb760bb7e7","Name":"sample string 4","BlobVideoUrl":"sample string 5","PublishedVideoUrl":"sample string 6","ProgressiveDownloadUrl":"sample string 7","VideoUploadStatus":"sample string 8","VideoDuration":"00:00:00.1234567","IsVideoEncrypted":true,"TenantId":10,"CreatedDate":"2024-09-09T15:00:53.6371986Z","CreatedBy":12,"ModifiedDate":"2024-09-09T15:00:53.6371986Z","ModifiedBy":14,"VideoThumbnailBlobUrl":"sample string 15","VideoCreator":"sample string 16"}

text/xml

Sample:
<VideoLibrary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models">
  <AssetId>sample string 2</AssetId>
  <BlobVideoUrl>sample string 5</BlobVideoUrl>
  <CreatedBy>12</CreatedBy>
  <CreatedDate>2024-09-09T15:00:53.6371986Z</CreatedDate>
  <IsVideoEncrypted>true</IsVideoEncrypted>
  <MediaServiceId>ac87dec0-17e1-41ff-8ac0-decb760bb7e7</MediaServiceId>
  <ModifiedBy>14</ModifiedBy>
  <ModifiedDate>2024-09-09T15:00:53.6371986Z</ModifiedDate>
  <Name>sample string 4</Name>
  <ProgressiveDownloadUrl>sample string 7</ProgressiveDownloadUrl>
  <PublishedVideoUrl>sample string 6</PublishedVideoUrl>
  <TenantId>10</TenantId>
  <VideoCreator>sample string 16</VideoCreator>
  <VideoDuration>PT0.1234567S</VideoDuration>
  <VideoId>1</VideoId>
  <VideoThumbnailBlobUrl>sample string 15</VideoThumbnailBlobUrl>
  <VideoUploadStatus>sample string 8</VideoUploadStatus>
</VideoLibrary>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, text/xml

Sample:

Sample not available.