RetrieveBookingLoop

 

CampaignService / RetrieveBookingLoop

 

Description: Get BookingLoop by ID

URL: http://{your-server-url}/api/v1/appspace/campaigns/bookingloops/{bookingLoopID}

Method: GET

Token Required: True


Request Headers:
content-type: application/json or content-type: application/xml
token: {token}
Response:

Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.Campaign.CampaignResponse

Parameter Type
Response.BookingLoop Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.Campaign.BookingLoop

Enums:
Field Name Values
Priority Nexus.AppSpace.Service.Contract.Model.Enums.Campaign.Priority Lowest = 1, Low = 2, Normal = 3, High = 4, Highest = 5

The following is an example response Xml body:
<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>

The following is an example response Json body:
{
	"DebugMessage":"String",
	"Errors":[
		{
			"Code":"String",
			"Message":"String",
			"StackTrace":"String"
		}
	],
	"Status":1,
	"BookingLoop":{
		"AssetIds":[
			123
		],
		"BookingId":123,
		"Id":123,
		"IsDefaultContentLoop":true,
		"SiteId":123
	}
}