Description: Create content playout schdule
URL: http://{your-server-url}/api/v1/core/datasources/mediazones/contentplayoutschedules
Method: POST
Token Required: True
content-type: application/json or content-type: application/xml
token: {token}
currentaccountid: {accountid - optional and default value is user's own account}
Portal Administrator, Account Administrator, Account Owner, Content Administrator, Widget Manager
Type: Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Rights
Right | Require |
---|---|
Application_Management | Yes |
Widget_Management | Yes |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Datasource.DatasourceRequest
Parameter | Type | Nullable |
---|---|---|
Request.ContentPlayoutSchedules | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.DataSources.MediaZone.ContentPlayoutSchedule[] | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Datasource.DatasourceResponse
Parameter | Type |
---|---|
Response.ContentPlayoutSchedules | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.DataSources.MediaZone.ContentPlayoutSchedule[] |
<DatasourceRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Datasource" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ContentPlayoutSchedules xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.DataSources.MediaZone"> <a:ContentPlayoutSchedule> <a:MediaSchedulePlayoutProperty> <a:Approved>true</a:Approved> <a:AspectRatio>UniformFill</a:AspectRatio> <a:Custom>String</a:Custom> <a:DeletedAfterExpired>true</a:DeletedAfterExpired> <a:DurationMin>123</a:DurationMin> <a:DurationSec>123</a:DurationSec> <a:EndDate>2014-08-06T16:20:35.265966Z</a:EndDate> <a:FrequencyCondition>Exactly</a:FrequencyCondition> <a:FrequencyPlayout>123</a:FrequencyPlayout> <a:FrequencyUnit>Minute</a:FrequencyUnit> <a:Playforever>true</a:Playforever> <a:PlayoutEffect>Pull_TrackIn</a:PlayoutEffect> <a:PlayoutTagsRule>String</a:PlayoutTagsRule> <a:StartDate>2014-08-06T16:20:35.265966Z</a:StartDate> <a:Transition>None</a:Transition> </a:MediaSchedulePlayoutProperty> <a:MediaZoneAllocId>123</a:MediaZoneAllocId> </a:ContentPlayoutSchedule> </ContentPlayoutSchedules> </DatasourceRequest>
{ "ContentPlayoutSchedules":[ { "MediaSchedulePlayoutProperty":{ "Approved":true, "AspectRatio":3, "Custom":"String", "DeletedAfterExpired":true, "DurationMin":123, "DurationSec":123, "EndDate":"\/Date(1407342035265)\/", "FrequencyCondition":2, "FrequencyPlayout":123, "FrequencyUnit":5, "Playforever":true, "PlayoutEffect":7, "PlayoutTagsRule":"String", "StartDate":"\/Date(1407342035265)\/", "Transition":404 }, "MediaZoneAllocId":123 } ] }
<DatasourceResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Datasource" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage> <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages"> <Error> <Code>String</Code> <Message>String</Message> <StackTrace>String</StackTrace> </Error> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status> <ContentPlayoutSchedules xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.DataSources.MediaZone"> <a:ContentPlayoutSchedule> <a:Id>123</a:Id> <a:MediaSchedulePlayoutProperty> <a:Approved>true</a:Approved> <a:AspectRatio>UniformFill</a:AspectRatio> <a:Custom>String</a:Custom> <a:DeletedAfterExpired>true</a:DeletedAfterExpired> <a:DurationMin>123</a:DurationMin> <a:DurationSec>123</a:DurationSec> <a:EndDate>2014-08-06T16:20:35.265966Z</a:EndDate> <a:FrequencyCondition>Exactly</a:FrequencyCondition> <a:FrequencyPlayout>123</a:FrequencyPlayout> <a:FrequencyUnit>Minute</a:FrequencyUnit> <a:Playforever>true</a:Playforever> <a:PlayoutEffect>Pull_TrackIn</a:PlayoutEffect> <a:PlayoutTagsRule>String</a:PlayoutTagsRule> <a:StartDate>2014-08-06T16:20:35.265966Z</a:StartDate> <a:Transition>None</a:Transition> </a:MediaSchedulePlayoutProperty> <a:MediaZoneAllocId>123</a:MediaZoneAllocId> </a:ContentPlayoutSchedule> </ContentPlayoutSchedules> </DatasourceResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "ContentPlayoutSchedules":[ { "Id":123, "MediaSchedulePlayoutProperty":{ "Approved":true, "AspectRatio":3, "Custom":"String", "DeletedAfterExpired":true, "DurationMin":123, "DurationSec":123, "EndDate":"\/Date(1407342035265)\/", "FrequencyCondition":2, "FrequencyPlayout":123, "FrequencyUnit":5, "Playforever":true, "PlayoutEffect":7, "PlayoutTagsRule":"String", "StartDate":"\/Date(1407342035265)\/", "Transition":404 }, "MediaZoneAllocId":123 } ] }