Trendsic Platform Service

<back to all web services

LobbyContentDuplicateRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/lobby/content/{LobbyContentId}/duplicate
LobbyContentDuplicateRequest Parameters:
NameParameterData TypeRequiredDescription
LobbyContentIdpathintNo
ItembodyLobbyContentItemNo
TitleSuffixbodystringNo
RequestReviewbodyboolNo
LobbyContentItem Parameters:
NameParameterData TypeRequiredDescription
LobbyContentIdformintNo
TitleformstringNo
KindformstringNo
HasMediaformboolNo
MediaUrlformstringNo
HeadlineformstringNo
BodyformstringNo
AccentformstringNo
UrlformstringNo
DwellSecformintNo
StartsAtformDateTime?No
EndsAtformDateTime?No
DaysMaskformintNo
HourFromformint?No
HourToformint?No
IsThirdPartyformboolNo
StatusformstringNo
AllBranchesformboolNo
BranchIdsformList<Guid>No
Plays7dformintNo
OnNowformboolNo
SortOrderformintNo
CreatedByformstringNo
UpdatedAtformDateTime?No
FitformstringNo
FitBgformstringNo
MediaWidthformint?No
MediaHeightformint?No
VideoSecformdecimal?No
CaptionsBurnedInformboolNo
ShowLogoformboolNo
CaptionformstringNo
ComputedStatusformstringNo
PlaysTodayformintNo
HiddenBranchIdsformList<Guid>No
HiddenformboolNo
LobbyContentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ItemsformList<LobbyContentItem>No
NotifiedformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/lobby/content/{LobbyContentId}/duplicate HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"LobbyContentId":0,"Item":{"LobbyContentId":0,"Title":"String","Kind":"String","HasMedia":false,"MediaUrl":"String","Headline":"String","Body":"String","Accent":"String","Url":"String","DwellSec":0,"StartsAt":"0001-01-01T00:00:00.0000000","EndsAt":"0001-01-01T00:00:00.0000000","DaysMask":0,"HourFrom":0,"HourTo":0,"IsThirdParty":false,"Status":"String","AllBranches":false,"BranchIds":["00000000000000000000000000000000"],"Plays7d":0,"OnNow":false,"SortOrder":0,"CreatedBy":"String","UpdatedAt":"0001-01-01T00:00:00.0000000","Fit":"String","FitBg":"String","MediaWidth":0,"MediaHeight":0,"VideoSec":0,"CaptionsBurnedIn":false,"ShowLogo":false,"Caption":"String","ComputedStatus":"String","PlaysToday":0,"HiddenBranchIds":["00000000000000000000000000000000"],"Hidden":false},"TitleSuffix":"String","RequestReview":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Items":[{"LobbyContentId":0,"Title":"String","Kind":"String","HasMedia":false,"MediaUrl":"String","Headline":"String","Body":"String","Accent":"String","Url":"String","DwellSec":0,"StartsAt":"0001-01-01T00:00:00.0000000","EndsAt":"0001-01-01T00:00:00.0000000","DaysMask":0,"HourFrom":0,"HourTo":0,"IsThirdParty":false,"Status":"String","AllBranches":false,"BranchIds":["00000000000000000000000000000000"],"Plays7d":0,"OnNow":false,"SortOrder":0,"CreatedBy":"String","UpdatedAt":"0001-01-01T00:00:00.0000000","Fit":"String","FitBg":"String","MediaWidth":0,"MediaHeight":0,"VideoSec":0,"CaptionsBurnedIn":false,"ShowLogo":false,"Caption":"String","ComputedStatus":"String","PlaysToday":0,"HiddenBranchIds":["00000000000000000000000000000000"],"Hidden":false}],"Notified":0}