ConsumerApi

<back to all web services

GetAdMessageDraftsRequest

Consumer
Requires Authentication
Required role:Consumer
The following routes are available for this service:
GET/admessage/drafts
import Foundation
import ServiceStack

public class AdMessageDto : Codable
{
    public var id:Int
    public var guid:String
    public var title:String
    public var startAt:Date
    public var stopAt:Date
    public var publishAt:Date
    public var imageUrls:[ImageUrls] = []
    public var place:PlaceBasicApiDto
    public var detailsUnion:AdMessageDetailsUnion
    public var starredCount:Int

    required public init(){}
}

public class ImageUrls : Codable
{
    public var preview:String
    public var small:String
    public var medium:String
    public var large:String

    required public init(){}
}

public class PlaceBasicApiDto : Codable
{
    public var id:Int
    public var guid:String
    public var overview:String
    public var name:String
    public var longitude:Float
    public var latitude:Float
    public var claimed:Bool
    public var organizationNumber:String
    public var countryCode:String
    public var openingHours:OpeningHours
    public var wheelchairAccessible:Bool?
    public var wifi:Bool?
    public var outdoorSeating:Bool?
    public var saveFoodAndMoney:Bool?
    public var placeType:PlaceType
    public var priceMainDish:PriceMainDishApiDto
    public var timeZoneDto:TimeZoneDto
    public var businessId:Int?
    public var contact:PlaceContact
    public var address:PlaceAddress
    public var categories:[CategoryTreeApiDto] = []
    public var logoUrl:ImageUrls
    public var imageUrl:ImageUrls
    public var wearPriceProfiles:[WearPriceProfileEsDto] = []
    public var brands:[PlaceSelectedBrandApiDto] = []
    public var floor:String

    required public init(){}
}

public class OpeningHours : Codable
{
    public var weekly:WeeklyOpeningHours

    required public init(){}
}

public class WeeklyOpeningHours : Codable
{
    public var monday:OpeningHour
    public var tuesday:OpeningHour
    public var wednesday:OpeningHour
    public var thursday:OpeningHour
    public var friday:OpeningHour
    public var saturday:OpeningHour
    public var sunday:OpeningHour

    required public init(){}
}

public class OpeningHour : Codable
{
    public var openAtHour:Int
    public var openAtMinute:Int
    public var closeAtHour:Int
    public var closeAtMinute:Int

    required public init(){}
}

public enum PlaceType : String, Codable
{
    case Mall
    case Regular
}

public class PriceMainDishApiDto : Codable
{
    public var title:String
    public var slug:PriceMainDish

    required public init(){}
}

public enum PriceMainDish : String, Codable
{
    case Value
    case Medium
    case High
    case FineDining
}

public class TimeZoneDto : Codable
{
    @TimeSpan public var baseUtcOffset:TimeInterval
    public var daylightName:String
    public var displayName:String
    public var id:String
    public var standardName:String
    public var supportsDaylightSavingTime:Bool

    required public init(){}
}

public class PlaceContact : Codable
{
    public var phone:String
    public var email:String
    public var website:String
    public var webShop:String

    required public init(){}
}

public class PlaceAddress : Codable
{
    public var street:String
    public var postalCode:String
    public var region:String
    public var countryCode:String

    required public init(){}
}

public class CategoryTreeApiDto : Codable
{
    public var name:String
    public var slug:String
    public var absoluteSlug:String
    public var imageUrl:String
    public var allImageUrl:String
    public var iconImageUrl:String
    public var position:Int
    public var children:[CategoryTreeApiDto] = []

    required public init(){}
}

public class WearPriceProfileEsDto : Codable
{
    public var slug:String
    public var label:String

    required public init(){}
}

public class PlaceSelectedBrandApiDto : Codable
{
    public var brand:BrandApiDto
    public var categoryAbsoluteSlugs:[String] = []
    public var placeCustomBrand:PlaceCustomBrandApiDto

    required public init(){}
}

public class BrandApiDto : Codable
{
    public var name:String

    required public init(){}
}

public class PlaceCustomBrandApiDto : Codable
{
    public var name:String

    required public init(){}
}

public class AdMessageDetailsUnion : Codable
{
    public var percentageOnAllMerchandise:AdMessageDetailsPercentageDiscountOnAllMerchandise
    public var percentageRangeOnAllMerchandise:AdMessageDetailsPercentageDiscountRangeOnAllMerchandise
    public var percentageOnSelectedMerchandise:AdMessageDetailsPercentageDiscountOnSelectedMerchandise
    public var absoluteOnSelectedMerchandise:AdMessageDetailsAbsoluteDiscountOnSelectedMerchandise
    public var absoluteRangeOnAllMerchandise:AdMessageDetailsAbsoluteDiscountRangeOnAllMerchandise
    public var totalAmountOverXgivesYdiscount:AdMessageDetailsTotalAmountOverXgivesYdiscount
    public var xforY:AdMessageDetailsXforYdiscount
    public var newArrivals:AdMessageDetailsNewArrivals
    public var freetext:AdMessageDetailsFreetext
    public var todaysBreakFastOffer:AdMessageDetailsTodaysBreakFastOffer
    public var todaysLunchOffer:AdMessageDetailsTodaysLunchOffer
    public var todaysDinnerOffer:AdMessageDetailsTodaysDinnerOffer
    public var saveFoodAndMoney:AdMessageDetailsSaveFoodAndMoney
    public var percentageOfYourFoodBill:AdMessageDetailsPercentageOffYourFoodBill
    public var happyHour:AdMessageDetailsHappyHour
    public var someFreeTablesLeftToday:AdMessageDetailsSomeFreeTablesLeftToday
    public var twoDishesForThePriceOfOne:AdMessageDetailsTwoDishesForThePriceOfOne

    required public init(){}
}

public class AdMessageDetailsPercentageDiscountOnAllMerchandise : AdMessageDetailsBase
{
    public var value:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case value
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        value = try container.decodeIfPresent(Double.self, forKey: .value)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if value != nil { try container.encode(value, forKey: .value) }
    }
}

public class AdMessageDetailsBase : Codable
{
    public var Description:String
    public var moreInformation:[String] = []

    required public init(){}
}

public class AdMessageDetailsPercentageDiscountRangeOnAllMerchandise : AdMessageDetailsBase
{
    public var start:Double
    public var stop:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case start
        case stop
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        start = try container.decodeIfPresent(Double.self, forKey: .start)
        stop = try container.decodeIfPresent(Double.self, forKey: .stop)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if start != nil { try container.encode(start, forKey: .start) }
        if stop != nil { try container.encode(stop, forKey: .stop) }
    }
}

public class AdMessageDetailsPercentageDiscountOnSelectedMerchandise : AdMessageDetailsBase
{
    public var value:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case value
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        value = try container.decodeIfPresent(Double.self, forKey: .value)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if value != nil { try container.encode(value, forKey: .value) }
    }
}

public class AdMessageDetailsAbsoluteDiscountOnSelectedMerchandise : AdMessageDetailsBase
{
    public var value:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case value
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        value = try container.decodeIfPresent(Double.self, forKey: .value)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if value != nil { try container.encode(value, forKey: .value) }
    }
}

public class AdMessageDetailsAbsoluteDiscountRangeOnAllMerchandise : AdMessageDetailsBase
{
    public var start:Double
    public var stop:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case start
        case stop
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        start = try container.decodeIfPresent(Double.self, forKey: .start)
        stop = try container.decodeIfPresent(Double.self, forKey: .stop)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if start != nil { try container.encode(start, forKey: .start) }
        if stop != nil { try container.encode(stop, forKey: .stop) }
    }
}

public class AdMessageDetailsTotalAmountOverXgivesYdiscount : AdMessageDetailsBase
{
    public var ifTotalAmountMoreThanX:Double
    public var thenYouGetDiscountPercentageY:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case ifTotalAmountMoreThanX
        case thenYouGetDiscountPercentageY
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        ifTotalAmountMoreThanX = try container.decodeIfPresent(Double.self, forKey: .ifTotalAmountMoreThanX)
        thenYouGetDiscountPercentageY = try container.decodeIfPresent(Double.self, forKey: .thenYouGetDiscountPercentageY)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if ifTotalAmountMoreThanX != nil { try container.encode(ifTotalAmountMoreThanX, forKey: .ifTotalAmountMoreThanX) }
        if thenYouGetDiscountPercentageY != nil { try container.encode(thenYouGetDiscountPercentageY, forKey: .thenYouGetDiscountPercentageY) }
    }
}

public class AdMessageDetailsXforYdiscount : AdMessageDetailsBase
{
    public var ifYouBuyX:Int
    public var thenYouGetY:Int

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case ifYouBuyX
        case thenYouGetY
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        ifYouBuyX = try container.decodeIfPresent(Int.self, forKey: .ifYouBuyX)
        thenYouGetY = try container.decodeIfPresent(Int.self, forKey: .thenYouGetY)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if ifYouBuyX != nil { try container.encode(ifYouBuyX, forKey: .ifYouBuyX) }
        if thenYouGetY != nil { try container.encode(thenYouGetY, forKey: .thenYouGetY) }
    }
}

public class AdMessageDetailsNewArrivals : AdMessageDetailsBase
{
    required public init(){ super.init() }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
    }
}

public class AdMessageDetailsFreetext : AdMessageDetailsBase
{
    public var title:String

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case title
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        title = try container.decodeIfPresent(String.self, forKey: .title)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if title != nil { try container.encode(title, forKey: .title) }
    }
}

public class AdMessageDetailsTodaysBreakFastOffer : AdMessageDetailsBase
{
    public var value:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case value
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        value = try container.decodeIfPresent(Double.self, forKey: .value)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if value != nil { try container.encode(value, forKey: .value) }
    }
}

public class AdMessageDetailsTodaysLunchOffer : AdMessageDetailsBase
{
    public var value:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case value
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        value = try container.decodeIfPresent(Double.self, forKey: .value)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if value != nil { try container.encode(value, forKey: .value) }
    }
}

public class AdMessageDetailsTodaysDinnerOffer : AdMessageDetailsBase
{
    public var value:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case value
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        value = try container.decodeIfPresent(Double.self, forKey: .value)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if value != nil { try container.encode(value, forKey: .value) }
    }
}

public class AdMessageDetailsSaveFoodAndMoney : AdMessageDetailsBase
{
    public var value:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case value
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        value = try container.decodeIfPresent(Double.self, forKey: .value)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if value != nil { try container.encode(value, forKey: .value) }
    }
}

public class AdMessageDetailsPercentageOffYourFoodBill : AdMessageDetailsBase
{
    public var percentage:Double

    required public init(){ super.init() }

    private enum CodingKeys : String, CodingKey {
        case percentage
    }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
        let container = try decoder.container(keyedBy: CodingKeys.self)
        percentage = try container.decodeIfPresent(Double.self, forKey: .percentage)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
        var container = encoder.container(keyedBy: CodingKeys.self)
        if percentage != nil { try container.encode(percentage, forKey: .percentage) }
    }
}

public class AdMessageDetailsHappyHour : AdMessageDetailsBase
{
    required public init(){ super.init() }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
    }
}

public class AdMessageDetailsSomeFreeTablesLeftToday : AdMessageDetailsBase
{
    required public init(){ super.init() }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
    }
}

public class AdMessageDetailsTwoDishesForThePriceOfOne : AdMessageDetailsBase
{
    required public init(){ super.init() }

    required public init(from decoder: Decoder) throws {
        try super.init(from: decoder)
    }

    public override func encode(to encoder: Encoder) throws {
        try super.encode(to: encoder)
    }
}


Swift GetAdMessageDraftsRequest DTOs

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

HTTP + XML

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

GET /admessage/drafts HTTP/1.1 
Host: unstable-consumer-api.brovs.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetAdMessageDraftsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsumerApi.Dto">
  <DraftAdMessages xmlns:d2p1="http://schemas.datacontract.org/2004/07/Api.Dto">
    <d2p1:AdMessageDto>
      <d2p1:DetailsUnion xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common">
        <d4p1:AbsoluteOnSelectedMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:AbsoluteOnSelectedMerchandise>
        <d4p1:AbsoluteRangeOnAllMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Start>0</d4p1:Start>
          <d4p1:Stop>0</d4p1:Stop>
        </d4p1:AbsoluteRangeOnAllMerchandise>
        <d4p1:Freetext>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Title>String</d4p1:Title>
        </d4p1:Freetext>
        <d4p1:HappyHour>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:HappyHour>
        <d4p1:NewArrivals>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:NewArrivals>
        <d4p1:PercentageOfYourFoodBill>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Percentage>0</d4p1:Percentage>
        </d4p1:PercentageOfYourFoodBill>
        <d4p1:PercentageOnAllMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:PercentageOnAllMerchandise>
        <d4p1:PercentageOnSelectedMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:PercentageOnSelectedMerchandise>
        <d4p1:PercentageRangeOnAllMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Start>0</d4p1:Start>
          <d4p1:Stop>0</d4p1:Stop>
        </d4p1:PercentageRangeOnAllMerchandise>
        <d4p1:SaveFoodAndMoney>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:SaveFoodAndMoney>
        <d4p1:SomeFreeTablesLeftToday>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:SomeFreeTablesLeftToday>
        <d4p1:TodaysBreakFastOffer>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:TodaysBreakFastOffer>
        <d4p1:TodaysDinnerOffer>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:TodaysDinnerOffer>
        <d4p1:TodaysLunchOffer>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:TodaysLunchOffer>
        <d4p1:TotalAmountOverXgivesYdiscount>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:IfTotalAmountMoreThanX>0</d4p1:IfTotalAmountMoreThanX>
          <d4p1:ThenYouGetDiscountPercentageY>0</d4p1:ThenYouGetDiscountPercentageY>
        </d4p1:TotalAmountOverXgivesYdiscount>
        <d4p1:TwoDishesForThePriceOfOne>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:TwoDishesForThePriceOfOne>
        <d4p1:XforY>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:IfYouBuyX>0</d4p1:IfYouBuyX>
          <d4p1:ThenYouGetY>0</d4p1:ThenYouGetY>
        </d4p1:XforY>
      </d2p1:DetailsUnion>
      <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:ImageUrls xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common">
        <d4p1:ImageUrls>
          <d4p1:Large>String</d4p1:Large>
          <d4p1:Medium>String</d4p1:Medium>
          <d4p1:Preview>String</d4p1:Preview>
          <d4p1:Small>String</d4p1:Small>
        </d4p1:ImageUrls>
      </d2p1:ImageUrls>
      <d2p1:Place>
        <d2p1:Address xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:CountryCode>String</d5p1:CountryCode>
          <d5p1:PostalCode>String</d5p1:PostalCode>
          <d5p1:Region>String</d5p1:Region>
          <d5p1:Street>String</d5p1:Street>
        </d2p1:Address>
        <d2p1:Brands>
          <d2p1:PlaceSelectedBrandApiDto>
            <d2p1:Brand>
              <d2p1:Name>String</d2p1:Name>
            </d2p1:Brand>
            <d2p1:CategoryAbsoluteSlugs xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:string>String</d7p1:string>
            </d2p1:CategoryAbsoluteSlugs>
            <d2p1:PlaceCustomBrand>
              <d2p1:Name>String</d2p1:Name>
            </d2p1:PlaceCustomBrand>
          </d2p1:PlaceSelectedBrandApiDto>
        </d2p1:Brands>
        <d2p1:BusinessId>0</d2p1:BusinessId>
        <d2p1:Categories>
          <d2p1:CategoryTreeApiDto>
            <d2p1:AbsoluteSlug>String</d2p1:AbsoluteSlug>
            <d2p1:AllImageUrl>String</d2p1:AllImageUrl>
            <d2p1:Children>
              <d2p1:CategoryTreeApiDto>
                <d2p1:AbsoluteSlug>String</d2p1:AbsoluteSlug>
                <d2p1:AllImageUrl>String</d2p1:AllImageUrl>
                <d2p1:Children>
                  <d2p1:CategoryTreeApiDto>
                    <d2p1:AbsoluteSlug>String</d2p1:AbsoluteSlug>
                    <d2p1:AllImageUrl>String</d2p1:AllImageUrl>
                    <d2p1:Children i:nil="true" />
                    <d2p1:IconImageUrl>String</d2p1:IconImageUrl>
                    <d2p1:ImageUrl>String</d2p1:ImageUrl>
                    <d2p1:Name>String</d2p1:Name>
                    <d2p1:Position>0</d2p1:Position>
                    <d2p1:Slug>String</d2p1:Slug>
                  </d2p1:CategoryTreeApiDto>
                </d2p1:Children>
                <d2p1:IconImageUrl>String</d2p1:IconImageUrl>
                <d2p1:ImageUrl>String</d2p1:ImageUrl>
                <d2p1:Name>String</d2p1:Name>
                <d2p1:Position>0</d2p1:Position>
                <d2p1:Slug>String</d2p1:Slug>
              </d2p1:CategoryTreeApiDto>
            </d2p1:Children>
            <d2p1:IconImageUrl>String</d2p1:IconImageUrl>
            <d2p1:ImageUrl>String</d2p1:ImageUrl>
            <d2p1:Name>String</d2p1:Name>
            <d2p1:Position>0</d2p1:Position>
            <d2p1:Slug>String</d2p1:Slug>
          </d2p1:CategoryTreeApiDto>
        </d2p1:Categories>
        <d2p1:Claimed>false</d2p1:Claimed>
        <d2p1:Contact xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:Email>String</d5p1:Email>
          <d5p1:Phone>String</d5p1:Phone>
          <d5p1:WebShop>String</d5p1:WebShop>
          <d5p1:Website>String</d5p1:Website>
        </d2p1:Contact>
        <d2p1:CountryCode>String</d2p1:CountryCode>
        <d2p1:Floor>String</d2p1:Floor>
        <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:ImageUrl xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:Large>String</d5p1:Large>
          <d5p1:Medium>String</d5p1:Medium>
          <d5p1:Preview>String</d5p1:Preview>
          <d5p1:Small>String</d5p1:Small>
        </d2p1:ImageUrl>
        <d2p1:Latitude>0</d2p1:Latitude>
        <d2p1:LogoUrl xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:Large>String</d5p1:Large>
          <d5p1:Medium>String</d5p1:Medium>
          <d5p1:Preview>String</d5p1:Preview>
          <d5p1:Small>String</d5p1:Small>
        </d2p1:LogoUrl>
        <d2p1:Longitude>0</d2p1:Longitude>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:OpeningHours xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:Weekly>
            <d5p1:Friday>
              <d5p1:CloseAtHour>0</d5p1:CloseAtHour>
              <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute>
              <d5p1:OpenAtHour>0</d5p1:OpenAtHour>
              <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute>
            </d5p1:Friday>
            <d5p1:Monday>
              <d5p1:CloseAtHour>0</d5p1:CloseAtHour>
              <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute>
              <d5p1:OpenAtHour>0</d5p1:OpenAtHour>
              <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute>
            </d5p1:Monday>
            <d5p1:Saturday>
              <d5p1:CloseAtHour>0</d5p1:CloseAtHour>
              <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute>
              <d5p1:OpenAtHour>0</d5p1:OpenAtHour>
              <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute>
            </d5p1:Saturday>
            <d5p1:Sunday>
              <d5p1:CloseAtHour>0</d5p1:CloseAtHour>
              <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute>
              <d5p1:OpenAtHour>0</d5p1:OpenAtHour>
              <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute>
            </d5p1:Sunday>
            <d5p1:Thursday>
              <d5p1:CloseAtHour>0</d5p1:CloseAtHour>
              <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute>
              <d5p1:OpenAtHour>0</d5p1:OpenAtHour>
              <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute>
            </d5p1:Thursday>
            <d5p1:Tuesday>
              <d5p1:CloseAtHour>0</d5p1:CloseAtHour>
              <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute>
              <d5p1:OpenAtHour>0</d5p1:OpenAtHour>
              <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute>
            </d5p1:Tuesday>
            <d5p1:Wednesday>
              <d5p1:CloseAtHour>0</d5p1:CloseAtHour>
              <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute>
              <d5p1:OpenAtHour>0</d5p1:OpenAtHour>
              <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute>
            </d5p1:Wednesday>
          </d5p1:Weekly>
        </d2p1:OpeningHours>
        <d2p1:OrganizationNumber>String</d2p1:OrganizationNumber>
        <d2p1:OutdoorSeating>false</d2p1:OutdoorSeating>
        <d2p1:Overview>String</d2p1:Overview>
        <d2p1:PlaceType>Mall</d2p1:PlaceType>
        <d2p1:PriceMainDish>
          <d2p1:Slug>Value</d2p1:Slug>
          <d2p1:Title>String</d2p1:Title>
        </d2p1:PriceMainDish>
        <d2p1:SaveFoodAndMoney>false</d2p1:SaveFoodAndMoney>
        <d2p1:TimeZoneDto xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:BaseUtcOffset>PT0S</d5p1:BaseUtcOffset>
          <d5p1:DaylightName>String</d5p1:DaylightName>
          <d5p1:DisplayName>String</d5p1:DisplayName>
          <d5p1:Id>String</d5p1:Id>
          <d5p1:StandardName>String</d5p1:StandardName>
          <d5p1:SupportsDaylightSavingTime>false</d5p1:SupportsDaylightSavingTime>
        </d2p1:TimeZoneDto>
        <d2p1:WearPriceProfiles>
          <d2p1:WearPriceProfileEsDto>
            <d2p1:Label>String</d2p1:Label>
            <d2p1:Slug>String</d2p1:Slug>
          </d2p1:WearPriceProfileEsDto>
        </d2p1:WearPriceProfiles>
        <d2p1:WheelchairAccessible>false</d2p1:WheelchairAccessible>
        <d2p1:Wifi>false</d2p1:Wifi>
      </d2p1:Place>
      <d2p1:PublishAt xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:PublishAt>
      <d2p1:StarredCount>0</d2p1:StarredCount>
      <d2p1:StartAt xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:StartAt>
      <d2p1:StopAt xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:StopAt>
      <d2p1:Title>String</d2p1:Title>
    </d2p1:AdMessageDto>
  </DraftAdMessages>
</GetAdMessageDraftsResponse>