Description: Update Application
URL: http://{your-server-url}/api/v1/core/applications
Method: PUT
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
Type: Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Rights
Right | Require | Comment |
---|---|---|
Application_Management | Yes | |
Network_Management | Optional | Required if update to others than user's home network |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application.ApplicationRequest
Parameter | Type | Nullable |
---|---|---|
Request.Applications | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Application[] | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application.ApplicationResponse
Parameter | Type |
---|---|
Response.Applications | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Application[] |
Field | Name | Values |
---|---|---|
Type | Nexus.AppSpace.Service.Contract.Model.Enums.Application.Type | Custom = 0, Passive = 1, Interactive = 2, VideoWall = 3 |
TemplateType | Nexus.AppSpace.Service.Contract.Model.Enums.Application.PassiveType | Instance = 0, ApplicationTemplate = 1, LayoutTemplate = 2 |
<ApplicationRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Applications xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications"> <a:Application> <a:AppClassId>123</a:AppClassId> <a:Guid>11111111-1111-1111-1111-111111111111</a:Guid> <a:Height>1000</a:Height> <a:Id>123</a:Id> <a:Name>String</a:Name> <a:Properties xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <b:KeyValuePair> <b:Key>String</b:Key> <b:Value>String</b:Value> </b:KeyValuePair> </a:Properties> <a:Triggers xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Triggers"> <b:Trigger> <b:Actions> <b:Action> <b:Name>String</b:Name> <b:Parameters xmlns:c="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <c:KeyValuePair> <c:Key>String</c:Key> <c:Value>String</c:Value> </c:KeyValuePair> </b:Parameters> <b:TargetName>String</b:TargetName> </b:Action> </b:Actions> <b:ConditionalJoinOperator>String</b:ConditionalJoinOperator> <b:Conditions> <b:Condition> <b:ConditionalExpressions> <b:Expression> <b:Arguments xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <c:string>String</c:string> </b:Arguments> <b:Operation>String</b:Operation> </b:Expression> </b:ConditionalExpressions> <b:ExpressionJoinOperator>String</b:ExpressionJoinOperator> </b:Condition> </b:Conditions> <b:RoutedEvent>String</b:RoutedEvent> <b:Scope>String</b:Scope> <b:SourceName>String</b:SourceName> </b:Trigger> </a:Triggers> <a:Width>1000</a:Width> </a:Application> </Applications> </ApplicationRequest>
{ "Applications":[ { "AppClassId":123, "Guid":"11111111-1111-1111-1111-111111111111", "Height":1000, "Id":123, "Name":"String", "Properties":[ { "Key":"String", "Value":"String" } ], "Triggers":[ { "Actions":[ { "Name":"String", "Parameters":[ { "Key":"String", "Value":"String" } ], "TargetName":"String" } ], "ConditionalJoinOperator":"String", "Conditions":[ { "ConditionalExpressions":[ { "Arguments":[ "String" ], "Operation":"String" } ], "ExpressionJoinOperator":"String" } ], "RoutedEvent":"String", "Scope":"String", "SourceName":"String" } ], "Width":1000 } ] }
<ApplicationResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application" 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> <Applications xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications"> <a:Application> <a:AppClassId>123</a:AppClassId> <a:CreatedDate>2014-11-20T17:57:37.2095275Z</a:CreatedDate> <a:Guid>11111111-1111-1111-1111-111111111111</a:Guid> <a:Height>1000</a:Height> <a:Id>123</a:Id> <a:LayoutSchedules> <a:LayoutSchedule> <a:ApplicationId>123</a:ApplicationId> <a:Disable>true</a:Disable> <a:EndDate>2014-11-20T17:57:37.2105283Z</a:EndDate> <a:Id>123</a:Id> <a:IsExclusive>true</a:IsExclusive> <a:IsNoEndDate>true</a:IsNoEndDate> <a:Name>String</a:Name> <a:Position>123</a:Position> <a:RecurrencePatterns xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Schedule"> <b:RecurrencePattern> <b:DaysToPlay xmlns:c="http://schemas.datacontract.org/2004/07/System"> <c:DayOfWeek>Saturday</c:DayOfWeek> </b:DaysToPlay> <b:EndTime>2014-11-20T17:57:37.2105283Z</b:EndTime> <b:IsAllDayEvent>true</b:IsAllDayEvent> <b:PlayOnAllDays>true</b:PlayOnAllDays> <b:StartTime>2014-11-20T17:57:37.2105283Z</b:StartTime> </b:RecurrencePattern> </a:RecurrencePatterns> <a:ScheduleItems xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Schedule"> <b:ScheduleItem> <b:Disable>true</b:Disable> <b:Duration>123</b:Duration> <b:LayoutId>123</b:LayoutId> <b:LayoutName>String</b:LayoutName> <b:Properties xmlns:c="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <c:KeyValuePair> <c:Key>String</c:Key> <c:Value>String</c:Value> </c:KeyValuePair> </b:Properties> <b:position>123</b:position> </b:ScheduleItem> </a:ScheduleItems> <a:ScheduleMode>roundRobin</a:ScheduleMode> <a:StartDate>2014-11-20T17:57:37.2105283Z</a:StartDate> <a:TagExpression>String</a:TagExpression> <a:UseRecurrencePattern>true</a:UseRecurrencePattern> </a:LayoutSchedule> </a:LayoutSchedules> <a:Layouts> <a:Layout> <a:ApplicationId>123</a:ApplicationId> <a:AspectRatio>1000</a:AspectRatio> <a:Guid>11111111-1111-1111-1111-111111111111</a:Guid> <a:Id>123</a:Id> <a:Name>String</a:Name> <a:Properties xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <b:KeyValuePair> <b:Key>String</b:Key> <b:Value>String</b:Value> </b:KeyValuePair> </a:Properties> <a:WidgetPlacements> <a:WidgetPlacement> <a:Color>String</a:Color> <a:Height>1000</a:Height> <a:Left>1000</a:Left> <a:MetaData xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <b:KeyValuePair> <b:Key>String</b:Key> <b:Value>String</b:Value> </b:KeyValuePair> </a:MetaData> <a:Opacity>1000</a:Opacity> <a:Top>1000</a:Top> <a:TransitionInType>String</a:TransitionInType> <a:TransitionOutType>String</a:TransitionOutType> <a:WidgetId>123</a:WidgetId> <a:WidgetName>String</a:WidgetName> <a:Width>1000</a:Width> </a:WidgetPlacement> </a:WidgetPlacements> </a:Layout> </a:Layouts> <a:Name>String</a:Name> <a:NetworkId>123</a:NetworkId> <a:Properties xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <b:KeyValuePair> <b:Key>String</b:Key> <b:Value>String</b:Value> </b:KeyValuePair> </a:Properties> <a:TemplateType>LayoutTemplate</a:TemplateType> <a:Triggers xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Triggers"> <b:Trigger> <b:Actions> <b:Action> <b:Name>String</b:Name> <b:Parameters xmlns:c="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <c:KeyValuePair> <c:Key>String</c:Key> <c:Value>String</c:Value> </c:KeyValuePair> </b:Parameters> <b:TargetName>String</b:TargetName> </b:Action> </b:Actions> <b:ConditionalJoinOperator>String</b:ConditionalJoinOperator> <b:Conditions> <b:Condition> <b:ConditionalExpressions> <b:Expression> <b:Arguments xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <c:string>String</c:string> </b:Arguments> <b:Operation>String</b:Operation> </b:Expression> </b:ConditionalExpressions> <b:ExpressionJoinOperator>String</b:ExpressionJoinOperator> </b:Condition> </b:Conditions> <b:RoutedEvent>String</b:RoutedEvent> <b:Scope>String</b:Scope> <b:SourceName>String</b:SourceName> </b:Trigger> </a:Triggers> <a:Type>VideoWall</a:Type> <a:Widgets> <a:Widget> <a:ApplicationId>123</a:ApplicationId> <a:AssetDatasourceId>123</a:AssetDatasourceId> <a:DatasourceId>123</a:DatasourceId> <a:Guid>11111111-1111-1111-1111-111111111111</a:Guid> <a:Id>123</a:Id> <a:Name>String</a:Name> <a:Properties xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO"> <b:KeyValuePair> <b:Key>String</b:Key> <b:Value>String</b:Value> </b:KeyValuePair> </a:Properties> <a:Type>SIPWidget</a:Type> </a:Widget> </a:Widgets> <a:Width>1000</a:Width> </a:Application> </Applications> </ApplicationResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "Applications":[ { "AppClassId":123, "CreatedDate":"\/Date(1416506257209)\/", "Guid":"11111111-1111-1111-1111-111111111111", "Height":1000, "Id":123, "LayoutSchedules":[ { "ApplicationId":123, "Disable":true, "EndDate":"\/Date(1416506257210)\/", "Id":123, "IsExclusive":true, "IsNoEndDate":true, "Name":"String", "Position":123, "RecurrencePatterns":[ { "DaysToPlay":[ 6 ], "EndTime":"\/Date(1416506257210)\/", "IsAllDayEvent":true, "PlayOnAllDays":true, "StartTime":"\/Date(1416506257210)\/" } ], "ScheduleItems":[ { "Disable":true, "Duration":123, "LayoutId":123, "LayoutName":"String", "Properties":[ { "Key":"String", "Value":"String" } ], "position":123 } ], "ScheduleMode":1, "StartDate":"\/Date(1416506257210)\/", "TagExpression":"String", "UseRecurrencePattern":true } ], "Layouts":[ { "ApplicationId":123, "AspectRatio":1000, "Guid":"11111111-1111-1111-1111-111111111111", "Id":123, "Name":"String", "Properties":[ { "Key":"String", "Value":"String" } ], "WidgetPlacements":[ { "Color":"String", "Height":1000, "Left":1000, "MetaData":[ { "Key":"String", "Value":"String" } ], "Opacity":1000, "Top":1000, "TransitionInType":"String", "TransitionOutType":"String", "WidgetId":123, "WidgetName":"String", "Width":1000 } ] } ], "Name":"String", "NetworkId":123, "Properties":[ { "Key":"String", "Value":"String" } ], "TemplateType":2, "Triggers":[ { "Actions":[ { "Name":"String", "Parameters":[ { "Key":"String", "Value":"String" } ], "TargetName":"String" } ], "ConditionalJoinOperator":"String", "Conditions":[ { "ConditionalExpressions":[ { "Arguments":[ "String" ], "Operation":"String" } ], "ExpressionJoinOperator":"String" } ], "RoutedEvent":"String", "Scope":"String", "SourceName":"String" } ], "Type":3, "Widgets":[ { "ApplicationId":123, "AssetDatasourceId":123, "DatasourceId":123, "Guid":"11111111-1111-1111-1111-111111111111", "Id":123, "Name":"String", "Properties":[ { "Key":"String", "Value":"String" } ], "Type":21 } ], "Width":1000 } ] }