Description: Create LayoutSchedule item
URL: http://{your-server-url}/api/v1/core/applications/layoutschedules/{layoutscheduleid}/scheduleitems
Method: POST
Token Required: True
currentaccountid: {accountid - optional and default value is user's own account}
content-type: application/json or content-type: application/xml
token: {token}
Portal Administrator, Account Administrator, Account Owner, Content Administrator, Schedule Manager
Type: Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Rights
Right | Require |
---|---|
Schedule_Management | Yes |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application.ApplicationRequest
Parameter | Type | Nullable |
---|---|---|
Request.ScheduleItems | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Schedule.ScheduleItem[] | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Application.ApplicationResponse
Parameter | Type |
---|---|
Response.ScheduleItems | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Schedule.ScheduleItem[] |
<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"> <ScheduleItems xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Schedule"> <a:ScheduleItem> <a:Disable>true</a:Disable> <a:Duration>123</a:Duration> <a:LayoutId>123</a:LayoutId> <a:LayoutName>String</a:LayoutName> <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:ScheduleItem> </ScheduleItems> </ApplicationRequest>
{ "ScheduleItems":[ { "Disable":true, "Duration":123, "LayoutId":123, "LayoutName":"String", "Properties":[ { "Key":"String", "Value":"String" } ] } ] }
<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> <ScheduleItems xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Applications.Schedule"> <a:ScheduleItem> <a:Disable>true</a:Disable> <a:Duration>123</a:Duration> <a:LayoutId>123</a:LayoutId> <a:LayoutName>String</a:LayoutName> <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:position>123</a:position> </a:ScheduleItem> </ScheduleItems> </ApplicationResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "ScheduleItems":[ { "Disable":true, "Duration":123, "LayoutId":123, "LayoutName":"String", "Properties":[ { "Key":"String", "Value":"String" } ], "position":123 } ] }