Description: Create BookingLoop
URL: http://{your-server-url}/api/v1/appspace/campaigns/bookingloops
Method: POST
Token Required: True
content-type: application/json or content-type: application/xml
token: {token}
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign.CampaignRequest
Parameter | Type | Nullable |
---|---|---|
Request.BookingLoop | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.Campaign.BookingLoop | False |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign.CampaignResponse
Parameter | Type |
---|---|
Response.BookingLoop | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.Campaign.BookingLoop |
Field | Name | Values |
---|---|---|
Priority | Nexus.AppSpace.Service.Contract.Model.Enums.Campaign.Priority | Lowest = 1, Low = 2, Normal = 3, High = 4, Highest = 5 |
<CampaignRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <BookingLoop xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.Campaign"> <a:AssetIds xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <b:int>123</b:int> </a:AssetIds> <a:BookingId>123</a:BookingId> <a:IsDefaultContentLoop>true</a:IsDefaultContentLoop> <a:SiteId>123</a:SiteId> </BookingLoop> </CampaignRequest>
{ "BookingLoop":{ "AssetIds":[ 123 ], "BookingId":123, "IsDefaultContentLoop":true, "SiteId":123 } }
<CampaignResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign" 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> <BookingLoop xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.Campaign"> <a:AssetIds xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <b:int>123</b:int> </a:AssetIds> <a:BookingId>123</a:BookingId> <a:Id>123</a:Id> <a:IsDefaultContentLoop>true</a:IsDefaultContentLoop> <a:SiteId>123</a:SiteId> </BookingLoop> </CampaignResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "BookingLoop":{ "AssetIds":[ 123 ], "BookingId":123, "Id":123, "IsDefaultContentLoop":true, "SiteId":123 } }