Skip Navigation

Market Source

Include Market Sources for a hotel that are based on the content management strategy defined by the primary chain.


Parameter Description Type Required
MarketSource/@Code Code of a market source. String No


  "MarketSource": {
    "code": "REFERRAL"
  }


Sample Request

{
    "MarketSource": {
        "code": "REFERRAL"
    },
    "Chain": {
        "Id": 14161022
    },
    "Channels": {
        "PrimaryChannel": {
            "Code": "WEB"
        },
        "SecondaryChannel": {
            "Code": "SYNXISWS_BE"
        }
    },
    "Hotel": {
        "Id": 100319
    },
    "Guests": [
        {
            "PersonName": {
                "GivenName": "John",
                "Surname": "Public"
            },
            "Payments": [
                {
                    "PaymentCard": {
                        "CardCode": "VI",
                        "CardHolder": "John Public",
                        "CardNumber": "444444444444444",
                        "CardSecurityCode": "123",
                        "ExpireDate": "1225"
                    },
                    "Type": "CreditCard"
                }
            ],
            "ContactNumbers": [
                {
                    "Number": "555-123-2717"
                }
            ],
            "EmailAddress": [
                {
                    "Value": "john.public@email.com"
                }
            ]
        }
    ],
    "RoomStay": {
        "StartDate": "2023-06-07",
        "EndDate": "2023-06-08",
        "GuestCount": [
            {
                "AgeQualifyingCode": "Adult",
                "NumGuests": 1
            }
        ],
        "NumRooms": 1,
        "Products": [
            {
                "Product": {
                    "RateCode": "BAR",
                    "RoomCode": "LUXQ"
                }
            }
        ]
    },
    "status": "Confirmed"
}