PUT api/Lead/Put/{name}

Создание/изменение лида

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

None.

Body Parameters

Данные лида (если есть ID - для изменение, если нет - для создания нового)

UpdateLeadRequest
NameDescriptionTypeAdditional information
LeadData

Информация о лиде

LeadSingleItemData

None.

UrlSource

URL, с которого был создан и отправлен лид

string

None.

SourceId

integer

None.

PhoneCallId

string

None.

Appeals

Связанные обращения

Collection of AppealItemData

None.

LeadOffers

Связанные предложения

Collection of LeadOfferItemData

None.

Agreements

Идентификаторы связанных путевок

Collection of integer

None.

Clients

Связанные клиенты

Collection of LeadClientShortView

None.

AdditionalValues

Доп. значения (доп. описания)

Collection of AdditionalValueInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "LeadData": {
    "ImportedPartnerId": 1,
    "ImportedPartnerName": "sample string 1",
    "SentDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "ID": 1,
    "Name": "sample string 2",
    "ClientName": "sample string 3",
    "ClientFirstName": "sample string 4",
    "ClientPhone": "sample string 5",
    "ClientEmail": "sample string 6",
    "Description": "sample string 7",
    "LeadStatusName": "sample string 8",
    "LeadStatusID": 9,
    "LeadStatusColor": "sample string 10",
    "Country": "sample string 11",
    "CountryID": 1,
    "Department": "sample string 12",
    "DepartmentID": 1,
    "Advertisement": "sample string 13",
    "AdvertisementID": 1,
    "User": "sample string 14",
    "UserID": 1,
    "CreateDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "UserChangeDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "ClientChangeDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "AgreementStatuses": [
      {
        "CanMaped": true,
        "Color": "sample string 2",
        "EnumId": 1,
        "ForOkReset": true,
        "IsCanceled": true,
        "IsExternal": true,
        "IsInvalidated": true,
        "IsOk": true,
        "MappingId": 1,
        "MessageToSend": "sample string 8",
        "RecordSource": "sample string 9",
        "SendMessageOnSelect": true,
        "SortOrder": 11,
        "Type": 12,
        "ID": 13,
        "IsPredefined": true,
        "Name": "sample string 15"
      },
      {
        "CanMaped": true,
        "Color": "sample string 2",
        "EnumId": 1,
        "ForOkReset": true,
        "IsCanceled": true,
        "IsExternal": true,
        "IsInvalidated": true,
        "IsOk": true,
        "MappingId": 1,
        "MessageToSend": "sample string 8",
        "RecordSource": "sample string 9",
        "SendMessageOnSelect": true,
        "SortOrder": 11,
        "Type": 12,
        "ID": 13,
        "IsPredefined": true,
        "Name": "sample string 15"
      }
    ],
    "NearestEventDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "NearestEventName": "sample string 15",
    "NearestEventId": 1,
    "StatusColor": "sample string 16",
    "NotificationDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "PartnerLegalEntity": "sample string 17",
    "PartnerLegalEntityId": 1,
    "PartnerId": 1,
    "MessageForClient": "sample string 18",
    "InArchive": true,
    "CreatorId": 1,
    "CreatorName": "sample string 20",
    "BudgetFrom": 1,
    "BudgetTo": 1,
    "Adults": 1,
    "Children": 1,
    "StartDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "EndDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "PartnerName": "sample string 21",
    "Note": true,
    "OffersCount": 22,
    "OrderNumbers": "sample string 23",
    "PreorderNumbers": "sample string 24",
    "Currency": "sample string 25",
    "AddValues": [
      {
        "FieldName": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "FieldName": "sample string 1",
        "Value": "sample string 2"
      }
    ],
    "CurrencyName": "sample string 26",
    "SubAgentPartnerId": 1,
    "SubAgentPartnerLegalId": 1,
    "Source": 1,
    "IsOverdue": true,
    "IsActiveTask": true
  },
  "UrlSource": "sample string 1",
  "SourceId": 1,
  "PhoneCallId": "sample string 2",
  "Appeals": [
    {
      "Id": 1,
      "IsEdit": true,
      "AppealTypeId": 2,
      "AppealTypeName": "sample string 3",
      "ClientId": 1,
      "ClientName": "sample string 4",
      "Text": "sample string 5",
      "Comment": "sample string 6",
      "CreateDate": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "UserId": 1,
      "UserName": "sample string 7",
      "IsFromClient": true,
      "ContactInfo": "sample string 9",
      "IsSendEmail": true,
      "IsUpdateClientEmail": true,
      "IsHaveSentMail": true,
      "LeadId": 1,
      "PhoneCall": {
        "Id": 1,
        "ExternalId": "sample string 2",
        "RecordingId": "sample string 3",
        "CallInit": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallStart": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallEnd": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "FromUserId": 1,
        "FromUserName": "sample string 4",
        "FromUserFirstName": "sample string 5",
        "FromUserMiddleName": "sample string 6",
        "ToUserId": 1,
        "ToUserName": "sample string 7",
        "ToUserFirstName": "sample string 8",
        "ToUserMiddleName": "sample string 9",
        "FromClientId": 1,
        "FromClientName": "sample string 10",
        "FromClientFirstName": "sample string 11",
        "FromClientMiddleName": "sample string 12",
        "ToClientId": 1,
        "ToClientName": "sample string 13",
        "ToClientFirstName": "sample string 14",
        "ToClientMiddleName": "sample string 15",
        "LeadId": 1,
        "LeadName": "sample string 16",
        "FromNumber": "sample string 17",
        "ToNumber": "sample string 18",
        "DisconnectedReason": 1,
        "PreviousCallId": 1,
        "PreviousCallExternalId": "sample string 19",
        "FromPartnerId": 1,
        "ToPartnerId": 1,
        "ToPartnerName": "sample string 20",
        "FromPartnerName": "sample string 21",
        "ExternalNumber": "sample string 22",
        "CalledNumbers": [
          "sample string 1",
          "sample string 2"
        ],
        "Tags": [
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          },
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          }
        ]
      }
    },
    {
      "Id": 1,
      "IsEdit": true,
      "AppealTypeId": 2,
      "AppealTypeName": "sample string 3",
      "ClientId": 1,
      "ClientName": "sample string 4",
      "Text": "sample string 5",
      "Comment": "sample string 6",
      "CreateDate": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "UserId": 1,
      "UserName": "sample string 7",
      "IsFromClient": true,
      "ContactInfo": "sample string 9",
      "IsSendEmail": true,
      "IsUpdateClientEmail": true,
      "IsHaveSentMail": true,
      "LeadId": 1,
      "PhoneCall": {
        "Id": 1,
        "ExternalId": "sample string 2",
        "RecordingId": "sample string 3",
        "CallInit": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallStart": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallEnd": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "FromUserId": 1,
        "FromUserName": "sample string 4",
        "FromUserFirstName": "sample string 5",
        "FromUserMiddleName": "sample string 6",
        "ToUserId": 1,
        "ToUserName": "sample string 7",
        "ToUserFirstName": "sample string 8",
        "ToUserMiddleName": "sample string 9",
        "FromClientId": 1,
        "FromClientName": "sample string 10",
        "FromClientFirstName": "sample string 11",
        "FromClientMiddleName": "sample string 12",
        "ToClientId": 1,
        "ToClientName": "sample string 13",
        "ToClientFirstName": "sample string 14",
        "ToClientMiddleName": "sample string 15",
        "LeadId": 1,
        "LeadName": "sample string 16",
        "FromNumber": "sample string 17",
        "ToNumber": "sample string 18",
        "DisconnectedReason": 1,
        "PreviousCallId": 1,
        "PreviousCallExternalId": "sample string 19",
        "FromPartnerId": 1,
        "ToPartnerId": 1,
        "ToPartnerName": "sample string 20",
        "FromPartnerName": "sample string 21",
        "ExternalNumber": "sample string 22",
        "CalledNumbers": [
          "sample string 1",
          "sample string 2"
        ],
        "Tags": [
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          },
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          }
        ]
      }
    }
  ],
  "LeadOffers": [
    {
      "Id": 1,
      "IsEdit": true,
      "CountryId": 1,
      "CountryName": "sample string 2",
      "CityId": 1,
      "CityName": "sample string 3",
      "CurrencyId": 1,
      "CurrencyName": "sample string 4",
      "Price": 1.1,
      "StatusId": 5,
      "StatusName": "sample string 6",
      "Description": "sample string 7",
      "Url": "sample string 8",
      "InternalHotelUrl": "sample string 9",
      "DateFrom": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateTo": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "LeadId": 1,
      "TourData": {
        "Id": 1,
        "FavouriteSelectionsId": 1,
        "DepartureCityCode": "sample string 2",
        "DepartureCityName": "sample string 3",
        "DepartureDate": "sample string 4",
        "Nights": 5,
        "HotelName": "sample string 6",
        "HotelCode": "sample string 7",
        "MealTypeCode": "sample string 8",
        "MealTypeName": "sample string 9",
        "Accommodation": "sample string 10",
        "Price": 11,
        "CurrencyCode": "sample string 12",
        "Adults": 13,
        "Kids": "sample string 14",
        "ImageId": "sample string 15",
        "SupplierCode": "sample string 16",
        "CountryCode": "sample string 17",
        "CountryName": "sample string 18",
        "CityCode": "sample string 19",
        "CityName": "sample string 20",
        "CategoryCode": "sample string 21",
        "CategoryName": "sample string 22",
        "SupplierName": "sample string 23",
        "Rating": "sample string 24",
        "Hotels": [
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          },
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          }
        ]
      },
      "LeadOfferSource": 1,
      "PartnerId": 1,
      "PartnerName": "sample string 10"
    },
    {
      "Id": 1,
      "IsEdit": true,
      "CountryId": 1,
      "CountryName": "sample string 2",
      "CityId": 1,
      "CityName": "sample string 3",
      "CurrencyId": 1,
      "CurrencyName": "sample string 4",
      "Price": 1.1,
      "StatusId": 5,
      "StatusName": "sample string 6",
      "Description": "sample string 7",
      "Url": "sample string 8",
      "InternalHotelUrl": "sample string 9",
      "DateFrom": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateTo": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "LeadId": 1,
      "TourData": {
        "Id": 1,
        "FavouriteSelectionsId": 1,
        "DepartureCityCode": "sample string 2",
        "DepartureCityName": "sample string 3",
        "DepartureDate": "sample string 4",
        "Nights": 5,
        "HotelName": "sample string 6",
        "HotelCode": "sample string 7",
        "MealTypeCode": "sample string 8",
        "MealTypeName": "sample string 9",
        "Accommodation": "sample string 10",
        "Price": 11,
        "CurrencyCode": "sample string 12",
        "Adults": 13,
        "Kids": "sample string 14",
        "ImageId": "sample string 15",
        "SupplierCode": "sample string 16",
        "CountryCode": "sample string 17",
        "CountryName": "sample string 18",
        "CityCode": "sample string 19",
        "CityName": "sample string 20",
        "CategoryCode": "sample string 21",
        "CategoryName": "sample string 22",
        "SupplierName": "sample string 23",
        "Rating": "sample string 24",
        "Hotels": [
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          },
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          }
        ]
      },
      "LeadOfferSource": 1,
      "PartnerId": 1,
      "PartnerName": "sample string 10"
    }
  ],
  "Agreements": [
    1,
    2
  ],
  "Clients": [
    {
      "Id": 1,
      "IsMajor": true,
      "FirstName": "sample string 2",
      "Name": "sample string 3",
      "LastName": "sample string 4",
      "Email": "sample string 5",
      "Phone": "sample string 6",
      "BirthDate": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "Gender": "MAN",
      "AgeCategory": "ADULT"
    },
    {
      "Id": 1,
      "IsMajor": true,
      "FirstName": "sample string 2",
      "Name": "sample string 3",
      "LastName": "sample string 4",
      "Email": "sample string 5",
      "Phone": "sample string 6",
      "BirthDate": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "Gender": "MAN",
      "AgeCategory": "ADULT"
    }
  ],
  "AdditionalValues": [
    {
      "Title": "sample string 1",
      "AdditionalValueTypeId": 2,
      "Value": "sample string 3",
      "Required": true,
      "Options": [
        {
          "Id": 1,
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Value": "sample string 2"
        }
      ],
      "SelectedOptions": [
        1,
        2
      ],
      "AdditionalTypeId": 5
    },
    {
      "Title": "sample string 1",
      "AdditionalValueTypeId": 2,
      "Value": "sample string 3",
      "Required": true,
      "Options": [
        {
          "Id": 1,
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Value": "sample string 2"
        }
      ],
      "SelectedOptions": [
        1,
        2
      ],
      "AdditionalTypeId": 5
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateLeadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Lead.Contract">
  <AdditionalValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Client.Contract">
    <d2p1:AdditionalValueInfo>
      <d2p1:AdditionalTypeId>5</d2p1:AdditionalTypeId>
      <d2p1:AdditionalValueTypeId>2</d2p1:AdditionalValueTypeId>
      <d2p1:Options>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
      </d2p1:Options>
      <d2p1:Required>true</d2p1:Required>
      <d2p1:SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:SelectedOptions>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:AdditionalValueInfo>
    <d2p1:AdditionalValueInfo>
      <d2p1:AdditionalTypeId>5</d2p1:AdditionalTypeId>
      <d2p1:AdditionalValueTypeId>2</d2p1:AdditionalValueTypeId>
      <d2p1:Options>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
      </d2p1:Options>
      <d2p1:Required>true</d2p1:Required>
      <d2p1:SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:SelectedOptions>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:AdditionalValueInfo>
  </AdditionalValues>
  <Agreements xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Agreements>
  <Appeals xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Appeal.Contract">
    <d2p1:AppealItemData>
      <d2p1:AppealTypeId>2</d2p1:AppealTypeId>
      <d2p1:AppealTypeName>sample string 3</d2p1:AppealTypeName>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 4</d2p1:ClientName>
      <d2p1:Comment>sample string 6</d2p1:Comment>
      <d2p1:ContactInfo>sample string 9</d2p1:ContactInfo>
      <d2p1:CreateDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:CreateDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:IsFromClient>true</d2p1:IsFromClient>
      <d2p1:IsHaveSentMail>true</d2p1:IsHaveSentMail>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsUpdateClientEmail>true</d2p1:IsUpdateClientEmail>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:Text>sample string 5</d2p1:Text>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:AppealItemData>
    <d2p1:AppealItemData>
      <d2p1:AppealTypeId>2</d2p1:AppealTypeId>
      <d2p1:AppealTypeName>sample string 3</d2p1:AppealTypeName>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 4</d2p1:ClientName>
      <d2p1:Comment>sample string 6</d2p1:Comment>
      <d2p1:ContactInfo>sample string 9</d2p1:ContactInfo>
      <d2p1:CreateDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:CreateDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:IsFromClient>true</d2p1:IsFromClient>
      <d2p1:IsHaveSentMail>true</d2p1:IsHaveSentMail>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsUpdateClientEmail>true</d2p1:IsUpdateClientEmail>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:Text>sample string 5</d2p1:Text>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:AppealItemData>
  </Appeals>
  <Clients>
    <LeadClientShortView>
      <AgeCategory>ADULT</AgeCategory>
      <BirthDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </BirthDate>
      <Email>sample string 5</Email>
      <FirstName>sample string 2</FirstName>
      <Gender>MAN</Gender>
      <Id>1</Id>
      <IsMajor>true</IsMajor>
      <LastName>sample string 4</LastName>
      <Name>sample string 3</Name>
      <Phone>sample string 6</Phone>
    </LeadClientShortView>
    <LeadClientShortView>
      <AgeCategory>ADULT</AgeCategory>
      <BirthDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </BirthDate>
      <Email>sample string 5</Email>
      <FirstName>sample string 2</FirstName>
      <Gender>MAN</Gender>
      <Id>1</Id>
      <IsMajor>true</IsMajor>
      <LastName>sample string 4</LastName>
      <Name>sample string 3</Name>
      <Phone>sample string 6</Phone>
    </LeadClientShortView>
  </Clients>
  <LeadData>
    <AddValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract">
      <d3p1:AdditionalValueInfoForLists>
        <d3p1:FieldName>sample string 1</d3p1:FieldName>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:AdditionalValueInfoForLists>
      <d3p1:AdditionalValueInfoForLists>
        <d3p1:FieldName>sample string 1</d3p1:FieldName>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:AdditionalValueInfoForLists>
    </AddValues>
    <Adults>1</Adults>
    <Advertisement>sample string 13</Advertisement>
    <AdvertisementID>1</AdvertisementID>
    <AgreementStatuses xmlns:d3p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries">
      <d3p1:StatusInfo>
        <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">13</ID>
        <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 15</Name>
        <d3p1:CanMaped>true</d3p1:CanMaped>
        <d3p1:Color>sample string 2</d3p1:Color>
        <d3p1:EnumId>1</d3p1:EnumId>
        <d3p1:ForOkReset>true</d3p1:ForOkReset>
        <d3p1:IsCanceled>true</d3p1:IsCanceled>
        <d3p1:IsExternal>true</d3p1:IsExternal>
        <d3p1:IsInvalidated>true</d3p1:IsInvalidated>
        <d3p1:IsOk>true</d3p1:IsOk>
        <d3p1:MappingId>1</d3p1:MappingId>
        <d3p1:MessageToSend>sample string 8</d3p1:MessageToSend>
        <d3p1:RecordSource>sample string 9</d3p1:RecordSource>
        <d3p1:SendMessageOnSelect>true</d3p1:SendMessageOnSelect>
        <d3p1:SortOrder>11</d3p1:SortOrder>
        <d3p1:Type>12</d3p1:Type>
      </d3p1:StatusInfo>
      <d3p1:StatusInfo>
        <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">13</ID>
        <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 15</Name>
        <d3p1:CanMaped>true</d3p1:CanMaped>
        <d3p1:Color>sample string 2</d3p1:Color>
        <d3p1:EnumId>1</d3p1:EnumId>
        <d3p1:ForOkReset>true</d3p1:ForOkReset>
        <d3p1:IsCanceled>true</d3p1:IsCanceled>
        <d3p1:IsExternal>true</d3p1:IsExternal>
        <d3p1:IsInvalidated>true</d3p1:IsInvalidated>
        <d3p1:IsOk>true</d3p1:IsOk>
        <d3p1:MappingId>1</d3p1:MappingId>
        <d3p1:MessageToSend>sample string 8</d3p1:MessageToSend>
        <d3p1:RecordSource>sample string 9</d3p1:RecordSource>
        <d3p1:SendMessageOnSelect>true</d3p1:SendMessageOnSelect>
        <d3p1:SortOrder>11</d3p1:SortOrder>
        <d3p1:Type>12</d3p1:Type>
      </d3p1:StatusInfo>
    </AgreementStatuses>
    <BudgetFrom>1</BudgetFrom>
    <BudgetTo>1</BudgetTo>
    <Children>1</Children>
    <ClientChangeDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </ClientChangeDate>
    <ClientEmail>sample string 6</ClientEmail>
    <ClientFirstName>sample string 4</ClientFirstName>
    <ClientName>sample string 3</ClientName>
    <ClientPhone>sample string 5</ClientPhone>
    <Country>sample string 11</Country>
    <CountryID>1</CountryID>
    <CreateDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </CreateDate>
    <CreatorId>1</CreatorId>
    <CreatorName>sample string 20</CreatorName>
    <Currency>sample string 25</Currency>
    <CurrencyName>sample string 26</CurrencyName>
    <Department>sample string 12</Department>
    <DepartmentID>1</DepartmentID>
    <Description>sample string 7</Description>
    <EndDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </EndDate>
    <ID>1</ID>
    <InArchive>true</InArchive>
    <IsActiveTask>true</IsActiveTask>
    <IsOverdue>true</IsOverdue>
    <LeadStatusColor>sample string 10</LeadStatusColor>
    <LeadStatusID>9</LeadStatusID>
    <LeadStatusName>sample string 8</LeadStatusName>
    <MessageForClient>sample string 18</MessageForClient>
    <Name>sample string 2</Name>
    <NearestEventDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </NearestEventDate>
    <NearestEventId>1</NearestEventId>
    <NearestEventName>sample string 15</NearestEventName>
    <Note>true</Note>
    <NotificationDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </NotificationDate>
    <OffersCount>22</OffersCount>
    <OrderNumbers>sample string 23</OrderNumbers>
    <PartnerId>1</PartnerId>
    <PartnerLegalEntity>sample string 17</PartnerLegalEntity>
    <PartnerLegalEntityId>1</PartnerLegalEntityId>
    <PartnerName>sample string 21</PartnerName>
    <PreorderNumbers>sample string 24</PreorderNumbers>
    <Source>1</Source>
    <StartDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </StartDate>
    <SubAgentPartnerId>1</SubAgentPartnerId>
    <SubAgentPartnerLegalId>1</SubAgentPartnerLegalId>
    <User>sample string 14</User>
    <UserChangeDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </UserChangeDate>
    <UserID>1</UserID>
    <ImportedPartnerId>1</ImportedPartnerId>
    <ImportedPartnerName>sample string 1</ImportedPartnerName>
    <SentDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </SentDate>
  </LeadData>
  <LeadOffers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.LeadOffer.Contract">
    <d2p1:LeadOfferItemData>
      <d2p1:CityId>1</d2p1:CityId>
      <d2p1:CityName>sample string 3</d2p1:CityName>
      <d2p1:CountryId>1</d2p1:CountryId>
      <d2p1:CountryName>sample string 2</d2p1:CountryName>
      <d2p1:CurrencyId>1</d2p1:CurrencyId>
      <d2p1:CurrencyName>sample string 4</d2p1:CurrencyName>
      <d2p1:DateFrom xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateFrom>
      <d2p1:DateTo xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateTo>
      <d2p1:Description>sample string 7</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InternalHotelUrl>sample string 9</d2p1:InternalHotelUrl>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:LeadOfferSource>1</d2p1:LeadOfferSource>
      <d2p1:PartnerId>1</d2p1:PartnerId>
      <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
      <d2p1:Price>1.1</d2p1:Price>
      <d2p1:StatusId>5</d2p1:StatusId>
      <d2p1:StatusName>sample string 6</d2p1:StatusName>
      <d2p1:TourData xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.FavouriteTour.Contract">
        <d4p1:Accommodation>sample string 10</d4p1:Accommodation>
        <d4p1:Adults>13</d4p1:Adults>
        <d4p1:CategoryCode>sample string 21</d4p1:CategoryCode>
        <d4p1:CategoryName>sample string 22</d4p1:CategoryName>
        <d4p1:CityCode>sample string 19</d4p1:CityCode>
        <d4p1:CityName>sample string 20</d4p1:CityName>
        <d4p1:CountryCode>sample string 17</d4p1:CountryCode>
        <d4p1:CountryName>sample string 18</d4p1:CountryName>
        <d4p1:CurrencyCode>sample string 12</d4p1:CurrencyCode>
        <d4p1:DepartureCityCode>sample string 2</d4p1:DepartureCityCode>
        <d4p1:DepartureCityName>sample string 3</d4p1:DepartureCityName>
        <d4p1:DepartureDate>sample string 4</d4p1:DepartureDate>
        <d4p1:FavouriteSelectionsId>1</d4p1:FavouriteSelectionsId>
        <d4p1:HotelCode>sample string 7</d4p1:HotelCode>
        <d4p1:HotelName>sample string 6</d4p1:HotelName>
        <d4p1:Hotels>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
        </d4p1:Hotels>
        <d4p1:Id>1</d4p1:Id>
        <d4p1:ImageId>sample string 15</d4p1:ImageId>
        <d4p1:Kids>sample string 14</d4p1:Kids>
        <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
        <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
        <d4p1:Nights>5</d4p1:Nights>
        <d4p1:Price>11</d4p1:Price>
        <d4p1:Rating>sample string 24</d4p1:Rating>
        <d4p1:SupplierCode>sample string 16</d4p1:SupplierCode>
        <d4p1:SupplierName>sample string 23</d4p1:SupplierName>
      </d2p1:TourData>
      <d2p1:Url>sample string 8</d2p1:Url>
    </d2p1:LeadOfferItemData>
    <d2p1:LeadOfferItemData>
      <d2p1:CityId>1</d2p1:CityId>
      <d2p1:CityName>sample string 3</d2p1:CityName>
      <d2p1:CountryId>1</d2p1:CountryId>
      <d2p1:CountryName>sample string 2</d2p1:CountryName>
      <d2p1:CurrencyId>1</d2p1:CurrencyId>
      <d2p1:CurrencyName>sample string 4</d2p1:CurrencyName>
      <d2p1:DateFrom xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateFrom>
      <d2p1:DateTo xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateTo>
      <d2p1:Description>sample string 7</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InternalHotelUrl>sample string 9</d2p1:InternalHotelUrl>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:LeadOfferSource>1</d2p1:LeadOfferSource>
      <d2p1:PartnerId>1</d2p1:PartnerId>
      <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
      <d2p1:Price>1.1</d2p1:Price>
      <d2p1:StatusId>5</d2p1:StatusId>
      <d2p1:StatusName>sample string 6</d2p1:StatusName>
      <d2p1:TourData xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.FavouriteTour.Contract">
        <d4p1:Accommodation>sample string 10</d4p1:Accommodation>
        <d4p1:Adults>13</d4p1:Adults>
        <d4p1:CategoryCode>sample string 21</d4p1:CategoryCode>
        <d4p1:CategoryName>sample string 22</d4p1:CategoryName>
        <d4p1:CityCode>sample string 19</d4p1:CityCode>
        <d4p1:CityName>sample string 20</d4p1:CityName>
        <d4p1:CountryCode>sample string 17</d4p1:CountryCode>
        <d4p1:CountryName>sample string 18</d4p1:CountryName>
        <d4p1:CurrencyCode>sample string 12</d4p1:CurrencyCode>
        <d4p1:DepartureCityCode>sample string 2</d4p1:DepartureCityCode>
        <d4p1:DepartureCityName>sample string 3</d4p1:DepartureCityName>
        <d4p1:DepartureDate>sample string 4</d4p1:DepartureDate>
        <d4p1:FavouriteSelectionsId>1</d4p1:FavouriteSelectionsId>
        <d4p1:HotelCode>sample string 7</d4p1:HotelCode>
        <d4p1:HotelName>sample string 6</d4p1:HotelName>
        <d4p1:Hotels>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
        </d4p1:Hotels>
        <d4p1:Id>1</d4p1:Id>
        <d4p1:ImageId>sample string 15</d4p1:ImageId>
        <d4p1:Kids>sample string 14</d4p1:Kids>
        <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
        <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
        <d4p1:Nights>5</d4p1:Nights>
        <d4p1:Price>11</d4p1:Price>
        <d4p1:Rating>sample string 24</d4p1:Rating>
        <d4p1:SupplierCode>sample string 16</d4p1:SupplierCode>
        <d4p1:SupplierName>sample string 23</d4p1:SupplierName>
      </d2p1:TourData>
      <d2p1:Url>sample string 8</d2p1:Url>
    </d2p1:LeadOfferItemData>
  </LeadOffers>
  <PhoneCallId>sample string 2</PhoneCallId>
  <SourceId>1</SourceId>
  <UrlSource>sample string 1</UrlSource>
</UpdateLeadRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateLeadRequest'.

Response Information

Resource Description

Обновленный/созданный лид

GetLeadResponse
NameDescriptionTypeAdditional information
Item

LeadSingleItemData

None.

LeadAgreements

Collection of OrderItemData

None.

Appeals

Collection of AppealItemData

None.

LeadOffers

Collection of LeadOfferItemData

None.

LeadClients

Collection of ClientD

None.

Tasks

Collection of ManagerTask

None.

Events

Collection of EventInfo

None.

AdditionalValues

Collection of AdditionalValueInfo

None.

History

Collection of ChangeHistoryItem

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "Item": {
    "ImportedPartnerId": 1,
    "ImportedPartnerName": "sample string 1",
    "SentDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "ID": 1,
    "Name": "sample string 2",
    "ClientName": "sample string 3",
    "ClientFirstName": "sample string 4",
    "ClientPhone": "sample string 5",
    "ClientEmail": "sample string 6",
    "Description": "sample string 7",
    "LeadStatusName": "sample string 8",
    "LeadStatusID": 9,
    "LeadStatusColor": "sample string 10",
    "Country": "sample string 11",
    "CountryID": 1,
    "Department": "sample string 12",
    "DepartmentID": 1,
    "Advertisement": "sample string 13",
    "AdvertisementID": 1,
    "User": "sample string 14",
    "UserID": 1,
    "CreateDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "UserChangeDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "ClientChangeDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "AgreementStatuses": [
      {
        "CanMaped": true,
        "Color": "sample string 2",
        "EnumId": 1,
        "ForOkReset": true,
        "IsCanceled": true,
        "IsExternal": true,
        "IsInvalidated": true,
        "IsOk": true,
        "MappingId": 1,
        "MessageToSend": "sample string 8",
        "RecordSource": "sample string 9",
        "SendMessageOnSelect": true,
        "SortOrder": 11,
        "Type": 12,
        "ID": 13,
        "IsPredefined": true,
        "Name": "sample string 15"
      },
      {
        "CanMaped": true,
        "Color": "sample string 2",
        "EnumId": 1,
        "ForOkReset": true,
        "IsCanceled": true,
        "IsExternal": true,
        "IsInvalidated": true,
        "IsOk": true,
        "MappingId": 1,
        "MessageToSend": "sample string 8",
        "RecordSource": "sample string 9",
        "SendMessageOnSelect": true,
        "SortOrder": 11,
        "Type": 12,
        "ID": 13,
        "IsPredefined": true,
        "Name": "sample string 15"
      }
    ],
    "NearestEventDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "NearestEventName": "sample string 15",
    "NearestEventId": 1,
    "StatusColor": "sample string 16",
    "NotificationDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "PartnerLegalEntity": "sample string 17",
    "PartnerLegalEntityId": 1,
    "PartnerId": 1,
    "MessageForClient": "sample string 18",
    "InArchive": true,
    "CreatorId": 1,
    "CreatorName": "sample string 20",
    "BudgetFrom": 1,
    "BudgetTo": 1,
    "Adults": 1,
    "Children": 1,
    "StartDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "EndDate": {
      "Serialized": "01.01.1970",
      "HasValue": true,
      "Milliseconds": 3,
      "Format": "sample string 4"
    },
    "PartnerName": "sample string 21",
    "Note": true,
    "OffersCount": 22,
    "OrderNumbers": "sample string 23",
    "PreorderNumbers": "sample string 24",
    "Currency": "sample string 25",
    "AddValues": [
      {
        "FieldName": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "FieldName": "sample string 1",
        "Value": "sample string 2"
      }
    ],
    "CurrencyName": "sample string 26",
    "SubAgentPartnerId": 1,
    "SubAgentPartnerLegalId": 1,
    "Source": 1,
    "IsOverdue": true,
    "IsActiveTask": true
  },
  "Appeals": [
    {
      "Id": 1,
      "IsEdit": true,
      "AppealTypeId": 2,
      "AppealTypeName": "sample string 3",
      "ClientId": 1,
      "ClientName": "sample string 4",
      "Text": "sample string 5",
      "Comment": "sample string 6",
      "CreateDate": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "UserId": 1,
      "UserName": "sample string 7",
      "IsFromClient": true,
      "ContactInfo": "sample string 9",
      "IsSendEmail": true,
      "IsUpdateClientEmail": true,
      "IsHaveSentMail": true,
      "LeadId": 1,
      "PhoneCall": {
        "Id": 1,
        "ExternalId": "sample string 2",
        "RecordingId": "sample string 3",
        "CallInit": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallStart": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallEnd": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "FromUserId": 1,
        "FromUserName": "sample string 4",
        "FromUserFirstName": "sample string 5",
        "FromUserMiddleName": "sample string 6",
        "ToUserId": 1,
        "ToUserName": "sample string 7",
        "ToUserFirstName": "sample string 8",
        "ToUserMiddleName": "sample string 9",
        "FromClientId": 1,
        "FromClientName": "sample string 10",
        "FromClientFirstName": "sample string 11",
        "FromClientMiddleName": "sample string 12",
        "ToClientId": 1,
        "ToClientName": "sample string 13",
        "ToClientFirstName": "sample string 14",
        "ToClientMiddleName": "sample string 15",
        "LeadId": 1,
        "LeadName": "sample string 16",
        "FromNumber": "sample string 17",
        "ToNumber": "sample string 18",
        "DisconnectedReason": 1,
        "PreviousCallId": 1,
        "PreviousCallExternalId": "sample string 19",
        "FromPartnerId": 1,
        "ToPartnerId": 1,
        "ToPartnerName": "sample string 20",
        "FromPartnerName": "sample string 21",
        "ExternalNumber": "sample string 22",
        "CalledNumbers": [
          "sample string 1",
          "sample string 2"
        ],
        "Tags": [
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          },
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          }
        ]
      }
    },
    {
      "Id": 1,
      "IsEdit": true,
      "AppealTypeId": 2,
      "AppealTypeName": "sample string 3",
      "ClientId": 1,
      "ClientName": "sample string 4",
      "Text": "sample string 5",
      "Comment": "sample string 6",
      "CreateDate": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "UserId": 1,
      "UserName": "sample string 7",
      "IsFromClient": true,
      "ContactInfo": "sample string 9",
      "IsSendEmail": true,
      "IsUpdateClientEmail": true,
      "IsHaveSentMail": true,
      "LeadId": 1,
      "PhoneCall": {
        "Id": 1,
        "ExternalId": "sample string 2",
        "RecordingId": "sample string 3",
        "CallInit": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallStart": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "CallEnd": {
          "Serialized": "01.01.1970",
          "HasValue": true,
          "Milliseconds": 3,
          "Format": "sample string 4"
        },
        "FromUserId": 1,
        "FromUserName": "sample string 4",
        "FromUserFirstName": "sample string 5",
        "FromUserMiddleName": "sample string 6",
        "ToUserId": 1,
        "ToUserName": "sample string 7",
        "ToUserFirstName": "sample string 8",
        "ToUserMiddleName": "sample string 9",
        "FromClientId": 1,
        "FromClientName": "sample string 10",
        "FromClientFirstName": "sample string 11",
        "FromClientMiddleName": "sample string 12",
        "ToClientId": 1,
        "ToClientName": "sample string 13",
        "ToClientFirstName": "sample string 14",
        "ToClientMiddleName": "sample string 15",
        "LeadId": 1,
        "LeadName": "sample string 16",
        "FromNumber": "sample string 17",
        "ToNumber": "sample string 18",
        "DisconnectedReason": 1,
        "PreviousCallId": 1,
        "PreviousCallExternalId": "sample string 19",
        "FromPartnerId": 1,
        "ToPartnerId": 1,
        "ToPartnerName": "sample string 20",
        "FromPartnerName": "sample string 21",
        "ExternalNumber": "sample string 22",
        "CalledNumbers": [
          "sample string 1",
          "sample string 2"
        ],
        "Tags": [
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          },
          {
            "EntityId": 1,
            "EntityTypeId": 2,
            "Name": "sample string 3",
            "TagId": 4
          }
        ]
      }
    }
  ],
  "LeadOffers": [
    {
      "Id": 1,
      "IsEdit": true,
      "CountryId": 1,
      "CountryName": "sample string 2",
      "CityId": 1,
      "CityName": "sample string 3",
      "CurrencyId": 1,
      "CurrencyName": "sample string 4",
      "Price": 1.1,
      "StatusId": 5,
      "StatusName": "sample string 6",
      "Description": "sample string 7",
      "Url": "sample string 8",
      "InternalHotelUrl": "sample string 9",
      "DateFrom": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateTo": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "LeadId": 1,
      "TourData": {
        "Id": 1,
        "FavouriteSelectionsId": 1,
        "DepartureCityCode": "sample string 2",
        "DepartureCityName": "sample string 3",
        "DepartureDate": "sample string 4",
        "Nights": 5,
        "HotelName": "sample string 6",
        "HotelCode": "sample string 7",
        "MealTypeCode": "sample string 8",
        "MealTypeName": "sample string 9",
        "Accommodation": "sample string 10",
        "Price": 11,
        "CurrencyCode": "sample string 12",
        "Adults": 13,
        "Kids": "sample string 14",
        "ImageId": "sample string 15",
        "SupplierCode": "sample string 16",
        "CountryCode": "sample string 17",
        "CountryName": "sample string 18",
        "CityCode": "sample string 19",
        "CityName": "sample string 20",
        "CategoryCode": "sample string 21",
        "CategoryName": "sample string 22",
        "SupplierName": "sample string 23",
        "Rating": "sample string 24",
        "Hotels": [
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          },
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          }
        ]
      },
      "LeadOfferSource": 1,
      "PartnerId": 1,
      "PartnerName": "sample string 10"
    },
    {
      "Id": 1,
      "IsEdit": true,
      "CountryId": 1,
      "CountryName": "sample string 2",
      "CityId": 1,
      "CityName": "sample string 3",
      "CurrencyId": 1,
      "CurrencyName": "sample string 4",
      "Price": 1.1,
      "StatusId": 5,
      "StatusName": "sample string 6",
      "Description": "sample string 7",
      "Url": "sample string 8",
      "InternalHotelUrl": "sample string 9",
      "DateFrom": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateTo": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "LeadId": 1,
      "TourData": {
        "Id": 1,
        "FavouriteSelectionsId": 1,
        "DepartureCityCode": "sample string 2",
        "DepartureCityName": "sample string 3",
        "DepartureDate": "sample string 4",
        "Nights": 5,
        "HotelName": "sample string 6",
        "HotelCode": "sample string 7",
        "MealTypeCode": "sample string 8",
        "MealTypeName": "sample string 9",
        "Accommodation": "sample string 10",
        "Price": 11,
        "CurrencyCode": "sample string 12",
        "Adults": 13,
        "Kids": "sample string 14",
        "ImageId": "sample string 15",
        "SupplierCode": "sample string 16",
        "CountryCode": "sample string 17",
        "CountryName": "sample string 18",
        "CityCode": "sample string 19",
        "CityName": "sample string 20",
        "CategoryCode": "sample string 21",
        "CategoryName": "sample string 22",
        "SupplierName": "sample string 23",
        "Rating": "sample string 24",
        "Hotels": [
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          },
          {
            "Nights": 1,
            "HotelName": "sample string 2",
            "HotelCode": "sample string 3",
            "Accommodation": "sample string 4",
            "Adults": 5,
            "Kids": "sample string 6",
            "ImageId": "sample string 7",
            "MealTypeCode": "sample string 8",
            "MealTypeName": "sample string 9",
            "CategoryCode": "sample string 10",
            "CategoryName": "sample string 11",
            "CountryCode": "sample string 12",
            "CountryName": "sample string 13",
            "CityCode": "sample string 14",
            "CityName": "sample string 15",
            "Rating": "sample string 16",
            "HotelDescription": "sample string 17"
          }
        ]
      },
      "LeadOfferSource": 1,
      "PartnerId": 1,
      "PartnerName": "sample string 10"
    }
  ],
  "LeadClients": [
    {
      "BirthAddress": "sample string 1",
      "BirthArea": "sample string 2",
      "BirthCity": "sample string 3",
      "BirthCountry": "sample string 4",
      "BirthDistrict": "sample string 5",
      "ConnectedAgencyId": 1,
      "Documents": [
        {
          "DateFrom": "2024-11-23T17:00:29.0737009+03:00",
          "DateTo": "2024-11-23T17:00:29.0737009+03:00",
          "IssuedBy": "sample string 1",
          "Number": "sample string 2",
          "Serial": "sample string 3",
          "Type": 4
        },
        {
          "DateFrom": "2024-11-23T17:00:29.0737009+03:00",
          "DateTo": "2024-11-23T17:00:29.0737009+03:00",
          "IssuedBy": "sample string 1",
          "Number": "sample string 2",
          "Serial": "sample string 3",
          "Type": 4
        }
      ],
      "Emails": [
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        },
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        }
      ],
      "ExternalId": 1,
      "Family": "sample string 6",
      "Fax": "sample string 7",
      "FileList": [
        {
          "AcceptedByReservationCenter": true,
          "Date": "2024-11-23T17:00:29.0737009+03:00",
          "DocumentType": 0,
          "DownloadDate": "2024-11-23T17:00:29.0737009+03:00",
          "FName": "sample string 4",
          "FileID": 5,
          "IsAvailableForTourist": true,
          "IsNeedSignedDocument": true,
          "ShowInAgreement": true,
          "ShowInRequest": true
        },
        {
          "AcceptedByReservationCenter": true,
          "Date": "2024-11-23T17:00:29.0737009+03:00",
          "DocumentType": 0,
          "DownloadDate": "2024-11-23T17:00:29.0737009+03:00",
          "FName": "sample string 4",
          "FileID": 5,
          "IsAvailableForTourist": true,
          "IsNeedSignedDocument": true,
          "ShowInAgreement": true,
          "ShowInRequest": true
        }
      ],
      "IsMain": true,
      "IsSendEmail": true,
      "IsSendSMS": true,
      "IsTourist": true,
      "ManagerId": 1,
      "PassportByWhom": "sample string 8",
      "PassportRusByWhom": "sample string 9",
      "Phones": [
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        },
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        }
      ],
      "PostArea": "sample string 10",
      "PostCountry": "sample string 11",
      "PostDistrict": "sample string 12",
      "Address": "sample string 13",
      "AgeCategory": 1,
      "AgreementsCount": 14,
      "Birthday": "2024-11-23T17:00:29.0737009+03:00",
      "ChangeDate": "2024-11-23T17:00:29.0737009+03:00",
      "Citizen": "sample string 16",
      "CitizenId": 1,
      "ClientLeads": [
        {
          "ClientIds": [
            1,
            2
          ],
          "Created": "2024-11-23T17:00:29.0737009+03:00",
          "IsFailure": true,
          "IsMainClient": true,
          "IsNew": true,
          "IsSuccess": true,
          "LeadId": 5,
          "LeadName": "sample string 6",
          "LeadStatus": "sample string 7"
        },
        {
          "ClientIds": [
            1,
            2
          ],
          "Created": "2024-11-23T17:00:29.0737009+03:00",
          "IsFailure": true,
          "IsMainClient": true,
          "IsNew": true,
          "IsSuccess": true,
          "LeadId": 5,
          "LeadName": "sample string 6",
          "LeadStatus": "sample string 7"
        }
      ],
      "Code": "sample string 17",
      "Comment": "sample string 18",
      "Constant": true,
      "CreateDate": "2024-11-23T17:00:29.0737009+03:00",
      "Email": "sample string 21",
      "FirstName": "sample string 22",
      "FirstNameLat": "sample string 23",
      "Gender": 0,
      "ID": 1,
      "LeadsCount": 24,
      "MiddleName": "sample string 25",
      "MiddleNameLat": "sample string 26",
      "Mobile_CC": "sample string 27",
      "Mobile_Number": "sample string 28",
      "Mobile_RG": "sample string 29",
      "Name": "sample string 30",
      "NameLat": "sample string 31",
      "PassportDate": "2024-11-23T17:00:29.0737009+03:00",
      "PassportDateEnd": "2024-11-23T17:00:29.0737009+03:00",
      "PassportNumber": "sample string 32",
      "PassportRusDate": "2024-11-23T17:00:29.0737009+03:00",
      "PassportRusNumber": "sample string 33",
      "PassportRusSer": "sample string 34",
      "PassportType": "sample string 35",
      "Phone": "sample string 36",
      "PostBuilding": "sample string 37",
      "PostCity": "sample string 38",
      "PostFlat": "sample string 39",
      "PostIndex": "sample string 40",
      "PostStreet": "sample string 41",
      "Rank": 42,
      "RealAddress": "sample string 43",
      "UserID": 44
    },
    {
      "BirthAddress": "sample string 1",
      "BirthArea": "sample string 2",
      "BirthCity": "sample string 3",
      "BirthCountry": "sample string 4",
      "BirthDistrict": "sample string 5",
      "ConnectedAgencyId": 1,
      "Documents": [
        {
          "DateFrom": "2024-11-23T17:00:29.0737009+03:00",
          "DateTo": "2024-11-23T17:00:29.0737009+03:00",
          "IssuedBy": "sample string 1",
          "Number": "sample string 2",
          "Serial": "sample string 3",
          "Type": 4
        },
        {
          "DateFrom": "2024-11-23T17:00:29.0737009+03:00",
          "DateTo": "2024-11-23T17:00:29.0737009+03:00",
          "IssuedBy": "sample string 1",
          "Number": "sample string 2",
          "Serial": "sample string 3",
          "Type": 4
        }
      ],
      "Emails": [
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        },
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        }
      ],
      "ExternalId": 1,
      "Family": "sample string 6",
      "Fax": "sample string 7",
      "FileList": [
        {
          "AcceptedByReservationCenter": true,
          "Date": "2024-11-23T17:00:29.0737009+03:00",
          "DocumentType": 0,
          "DownloadDate": "2024-11-23T17:00:29.0737009+03:00",
          "FName": "sample string 4",
          "FileID": 5,
          "IsAvailableForTourist": true,
          "IsNeedSignedDocument": true,
          "ShowInAgreement": true,
          "ShowInRequest": true
        },
        {
          "AcceptedByReservationCenter": true,
          "Date": "2024-11-23T17:00:29.0737009+03:00",
          "DocumentType": 0,
          "DownloadDate": "2024-11-23T17:00:29.0737009+03:00",
          "FName": "sample string 4",
          "FileID": 5,
          "IsAvailableForTourist": true,
          "IsNeedSignedDocument": true,
          "ShowInAgreement": true,
          "ShowInRequest": true
        }
      ],
      "IsMain": true,
      "IsSendEmail": true,
      "IsSendSMS": true,
      "IsTourist": true,
      "ManagerId": 1,
      "PassportByWhom": "sample string 8",
      "PassportRusByWhom": "sample string 9",
      "Phones": [
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        },
        {
          "ID": 1,
          "Main": true,
          "Tag": {
            "Default": true,
            "Type": 0,
            "CanMaped": true,
            "IsExternal": true,
            "MappingId": 1,
            "RecordSource": "sample string 4",
            "Code": "sample string 5",
            "NameLat": "sample string 6",
            "ID": 7,
            "IsPredefined": true,
            "Name": "sample string 9"
          },
          "Value": "sample string 2"
        }
      ],
      "PostArea": "sample string 10",
      "PostCountry": "sample string 11",
      "PostDistrict": "sample string 12",
      "Address": "sample string 13",
      "AgeCategory": 1,
      "AgreementsCount": 14,
      "Birthday": "2024-11-23T17:00:29.0737009+03:00",
      "ChangeDate": "2024-11-23T17:00:29.0737009+03:00",
      "Citizen": "sample string 16",
      "CitizenId": 1,
      "ClientLeads": [
        {
          "ClientIds": [
            1,
            2
          ],
          "Created": "2024-11-23T17:00:29.0737009+03:00",
          "IsFailure": true,
          "IsMainClient": true,
          "IsNew": true,
          "IsSuccess": true,
          "LeadId": 5,
          "LeadName": "sample string 6",
          "LeadStatus": "sample string 7"
        },
        {
          "ClientIds": [
            1,
            2
          ],
          "Created": "2024-11-23T17:00:29.0737009+03:00",
          "IsFailure": true,
          "IsMainClient": true,
          "IsNew": true,
          "IsSuccess": true,
          "LeadId": 5,
          "LeadName": "sample string 6",
          "LeadStatus": "sample string 7"
        }
      ],
      "Code": "sample string 17",
      "Comment": "sample string 18",
      "Constant": true,
      "CreateDate": "2024-11-23T17:00:29.0737009+03:00",
      "Email": "sample string 21",
      "FirstName": "sample string 22",
      "FirstNameLat": "sample string 23",
      "Gender": 0,
      "ID": 1,
      "LeadsCount": 24,
      "MiddleName": "sample string 25",
      "MiddleNameLat": "sample string 26",
      "Mobile_CC": "sample string 27",
      "Mobile_Number": "sample string 28",
      "Mobile_RG": "sample string 29",
      "Name": "sample string 30",
      "NameLat": "sample string 31",
      "PassportDate": "2024-11-23T17:00:29.0737009+03:00",
      "PassportDateEnd": "2024-11-23T17:00:29.0737009+03:00",
      "PassportNumber": "sample string 32",
      "PassportRusDate": "2024-11-23T17:00:29.0737009+03:00",
      "PassportRusNumber": "sample string 33",
      "PassportRusSer": "sample string 34",
      "PassportType": "sample string 35",
      "Phone": "sample string 36",
      "PostBuilding": "sample string 37",
      "PostCity": "sample string 38",
      "PostFlat": "sample string 39",
      "PostIndex": "sample string 40",
      "PostStreet": "sample string 41",
      "Rank": 42,
      "RealAddress": "sample string 43",
      "UserID": 44
    }
  ],
  "Tasks": [
    {
      "Id": 1,
      "StatusId": 2,
      "PriorityId": 3,
      "TaskTypeId": 4,
      "Title": "sample string 5",
      "Description": "sample string 6",
      "AgreementId": 1,
      "LeadId": 1,
      "ImplementorUserId": 1,
      "DateBegin": {
        "Serialized": "01.01.1970 03:00",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateEnd": {
        "Serialized": "01.01.1970 03:00",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateClosed": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateCreated": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "CreatorUserId": 7,
      "NeedRemind": true,
      "RemindMinutes": 9.1,
      "StatusName": "sample string 10",
      "PriorityName": "sample string 11",
      "TaskTypeName": "sample string 12",
      "ImplementorUserName": "sample string 13",
      "CreatorUserName": "sample string 14",
      "AgreementCode": "sample string 15"
    },
    {
      "Id": 1,
      "StatusId": 2,
      "PriorityId": 3,
      "TaskTypeId": 4,
      "Title": "sample string 5",
      "Description": "sample string 6",
      "AgreementId": 1,
      "LeadId": 1,
      "ImplementorUserId": 1,
      "DateBegin": {
        "Serialized": "01.01.1970 03:00",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateEnd": {
        "Serialized": "01.01.1970 03:00",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateClosed": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "DateCreated": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "CreatorUserId": 7,
      "NeedRemind": true,
      "RemindMinutes": 9.1,
      "StatusName": "sample string 10",
      "PriorityName": "sample string 11",
      "TaskTypeName": "sample string 12",
      "ImplementorUserName": "sample string 13",
      "CreatorUserName": "sample string 14",
      "AgreementCode": "sample string 15"
    }
  ],
  "Events": [
    {
      "EV_ID": "sample string 1",
      "EventTypeId": 0,
      "EventName": "sample string 2",
      "EventTime": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "EventDescription": "sample string 3"
    },
    {
      "EV_ID": "sample string 1",
      "EventTypeId": 0,
      "EventName": "sample string 2",
      "EventTime": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "EventDescription": "sample string 3"
    }
  ],
  "AdditionalValues": [
    {
      "Title": "sample string 1",
      "AdditionalValueTypeId": 2,
      "Value": "sample string 3",
      "Required": true,
      "Options": [
        {
          "Id": 1,
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Value": "sample string 2"
        }
      ],
      "SelectedOptions": [
        1,
        2
      ],
      "AdditionalTypeId": 5
    },
    {
      "Title": "sample string 1",
      "AdditionalValueTypeId": 2,
      "Value": "sample string 3",
      "Required": true,
      "Options": [
        {
          "Id": 1,
          "Value": "sample string 2"
        },
        {
          "Id": 1,
          "Value": "sample string 2"
        }
      ],
      "SelectedOptions": [
        1,
        2
      ],
      "AdditionalTypeId": 5
    }
  ],
  "History": [
    {
      "Created": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "Action": "sample string 1",
      "Description": "sample string 2",
      "UserName": "sample string 3"
    },
    {
      "Created": {
        "Serialized": "01.01.1970",
        "HasValue": true,
        "Milliseconds": 3,
        "Format": "sample string 4"
      },
      "Action": "sample string 1",
      "Description": "sample string 2",
      "UserName": "sample string 3"
    }
  ],
  "RedirectUrl": "sample string 1",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-11-23T17:00:29.0737009+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<GetLeadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Lead.Contract">
  <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 1</RedirectUrl>
  <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:00:29.0737009+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <AdditionalValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Client.Contract">
    <d2p1:AdditionalValueInfo>
      <d2p1:AdditionalTypeId>5</d2p1:AdditionalTypeId>
      <d2p1:AdditionalValueTypeId>2</d2p1:AdditionalValueTypeId>
      <d2p1:Options>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
      </d2p1:Options>
      <d2p1:Required>true</d2p1:Required>
      <d2p1:SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:SelectedOptions>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:AdditionalValueInfo>
    <d2p1:AdditionalValueInfo>
      <d2p1:AdditionalTypeId>5</d2p1:AdditionalTypeId>
      <d2p1:AdditionalValueTypeId>2</d2p1:AdditionalValueTypeId>
      <d2p1:Options>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
        <d2p1:AdditionalValueOption>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:AdditionalValueOption>
      </d2p1:Options>
      <d2p1:Required>true</d2p1:Required>
      <d2p1:SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:SelectedOptions>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:AdditionalValueInfo>
  </AdditionalValues>
  <Appeals xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Appeal.Contract">
    <d2p1:AppealItemData>
      <d2p1:AppealTypeId>2</d2p1:AppealTypeId>
      <d2p1:AppealTypeName>sample string 3</d2p1:AppealTypeName>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 4</d2p1:ClientName>
      <d2p1:Comment>sample string 6</d2p1:Comment>
      <d2p1:ContactInfo>sample string 9</d2p1:ContactInfo>
      <d2p1:CreateDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:CreateDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:IsFromClient>true</d2p1:IsFromClient>
      <d2p1:IsHaveSentMail>true</d2p1:IsHaveSentMail>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsUpdateClientEmail>true</d2p1:IsUpdateClientEmail>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:Text>sample string 5</d2p1:Text>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:AppealItemData>
    <d2p1:AppealItemData>
      <d2p1:AppealTypeId>2</d2p1:AppealTypeId>
      <d2p1:AppealTypeName>sample string 3</d2p1:AppealTypeName>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 4</d2p1:ClientName>
      <d2p1:Comment>sample string 6</d2p1:Comment>
      <d2p1:ContactInfo>sample string 9</d2p1:ContactInfo>
      <d2p1:CreateDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:CreateDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:IsFromClient>true</d2p1:IsFromClient>
      <d2p1:IsHaveSentMail>true</d2p1:IsHaveSentMail>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsUpdateClientEmail>true</d2p1:IsUpdateClientEmail>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:Text>sample string 5</d2p1:Text>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:AppealItemData>
  </Appeals>
  <Events xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Statistic.Contract">
    <d2p1:EventInfo>
      <d2p1:EV_ID>sample string 1</d2p1:EV_ID>
      <d2p1:EventDescription>sample string 3</d2p1:EventDescription>
      <d2p1:EventName>sample string 2</d2p1:EventName>
      <d2p1:EventTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:EventTime>
      <d2p1:EventTypeId>Task</d2p1:EventTypeId>
    </d2p1:EventInfo>
    <d2p1:EventInfo>
      <d2p1:EV_ID>sample string 1</d2p1:EV_ID>
      <d2p1:EventDescription>sample string 3</d2p1:EventDescription>
      <d2p1:EventName>sample string 2</d2p1:EventName>
      <d2p1:EventTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:EventTime>
      <d2p1:EventTypeId>Task</d2p1:EventTypeId>
    </d2p1:EventInfo>
  </Events>
  <History xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.History.Contract">
    <d2p1:ChangeHistoryItem>
      <d2p1:Action>sample string 1</d2p1:Action>
      <d2p1:Created xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:Created>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:UserName>sample string 3</d2p1:UserName>
    </d2p1:ChangeHistoryItem>
    <d2p1:ChangeHistoryItem>
      <d2p1:Action>sample string 1</d2p1:Action>
      <d2p1:Created xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:Created>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:UserName>sample string 3</d2p1:UserName>
    </d2p1:ChangeHistoryItem>
  </History>
  <Item>
    <AddValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract">
      <d3p1:AdditionalValueInfoForLists>
        <d3p1:FieldName>sample string 1</d3p1:FieldName>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:AdditionalValueInfoForLists>
      <d3p1:AdditionalValueInfoForLists>
        <d3p1:FieldName>sample string 1</d3p1:FieldName>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:AdditionalValueInfoForLists>
    </AddValues>
    <Adults>1</Adults>
    <Advertisement>sample string 13</Advertisement>
    <AdvertisementID>1</AdvertisementID>
    <AgreementStatuses xmlns:d3p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries">
      <d3p1:StatusInfo>
        <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">13</ID>
        <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 15</Name>
        <d3p1:CanMaped>true</d3p1:CanMaped>
        <d3p1:Color>sample string 2</d3p1:Color>
        <d3p1:EnumId>1</d3p1:EnumId>
        <d3p1:ForOkReset>true</d3p1:ForOkReset>
        <d3p1:IsCanceled>true</d3p1:IsCanceled>
        <d3p1:IsExternal>true</d3p1:IsExternal>
        <d3p1:IsInvalidated>true</d3p1:IsInvalidated>
        <d3p1:IsOk>true</d3p1:IsOk>
        <d3p1:MappingId>1</d3p1:MappingId>
        <d3p1:MessageToSend>sample string 8</d3p1:MessageToSend>
        <d3p1:RecordSource>sample string 9</d3p1:RecordSource>
        <d3p1:SendMessageOnSelect>true</d3p1:SendMessageOnSelect>
        <d3p1:SortOrder>11</d3p1:SortOrder>
        <d3p1:Type>12</d3p1:Type>
      </d3p1:StatusInfo>
      <d3p1:StatusInfo>
        <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">13</ID>
        <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 15</Name>
        <d3p1:CanMaped>true</d3p1:CanMaped>
        <d3p1:Color>sample string 2</d3p1:Color>
        <d3p1:EnumId>1</d3p1:EnumId>
        <d3p1:ForOkReset>true</d3p1:ForOkReset>
        <d3p1:IsCanceled>true</d3p1:IsCanceled>
        <d3p1:IsExternal>true</d3p1:IsExternal>
        <d3p1:IsInvalidated>true</d3p1:IsInvalidated>
        <d3p1:IsOk>true</d3p1:IsOk>
        <d3p1:MappingId>1</d3p1:MappingId>
        <d3p1:MessageToSend>sample string 8</d3p1:MessageToSend>
        <d3p1:RecordSource>sample string 9</d3p1:RecordSource>
        <d3p1:SendMessageOnSelect>true</d3p1:SendMessageOnSelect>
        <d3p1:SortOrder>11</d3p1:SortOrder>
        <d3p1:Type>12</d3p1:Type>
      </d3p1:StatusInfo>
    </AgreementStatuses>
    <BudgetFrom>1</BudgetFrom>
    <BudgetTo>1</BudgetTo>
    <Children>1</Children>
    <ClientChangeDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </ClientChangeDate>
    <ClientEmail>sample string 6</ClientEmail>
    <ClientFirstName>sample string 4</ClientFirstName>
    <ClientName>sample string 3</ClientName>
    <ClientPhone>sample string 5</ClientPhone>
    <Country>sample string 11</Country>
    <CountryID>1</CountryID>
    <CreateDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </CreateDate>
    <CreatorId>1</CreatorId>
    <CreatorName>sample string 20</CreatorName>
    <Currency>sample string 25</Currency>
    <CurrencyName>sample string 26</CurrencyName>
    <Department>sample string 12</Department>
    <DepartmentID>1</DepartmentID>
    <Description>sample string 7</Description>
    <EndDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </EndDate>
    <ID>1</ID>
    <InArchive>true</InArchive>
    <IsActiveTask>true</IsActiveTask>
    <IsOverdue>true</IsOverdue>
    <LeadStatusColor>sample string 10</LeadStatusColor>
    <LeadStatusID>9</LeadStatusID>
    <LeadStatusName>sample string 8</LeadStatusName>
    <MessageForClient>sample string 18</MessageForClient>
    <Name>sample string 2</Name>
    <NearestEventDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </NearestEventDate>
    <NearestEventId>1</NearestEventId>
    <NearestEventName>sample string 15</NearestEventName>
    <Note>true</Note>
    <NotificationDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </NotificationDate>
    <OffersCount>22</OffersCount>
    <OrderNumbers>sample string 23</OrderNumbers>
    <PartnerId>1</PartnerId>
    <PartnerLegalEntity>sample string 17</PartnerLegalEntity>
    <PartnerLegalEntityId>1</PartnerLegalEntityId>
    <PartnerName>sample string 21</PartnerName>
    <PreorderNumbers>sample string 24</PreorderNumbers>
    <Source>1</Source>
    <StartDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </StartDate>
    <SubAgentPartnerId>1</SubAgentPartnerId>
    <SubAgentPartnerLegalId>1</SubAgentPartnerLegalId>
    <User>sample string 14</User>
    <UserChangeDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </UserChangeDate>
    <UserID>1</UserID>
    <ImportedPartnerId>1</ImportedPartnerId>
    <ImportedPartnerName>sample string 1</ImportedPartnerName>
    <SentDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
      <d3p1:_format>sample string 4</d3p1:_format>
      <d3p1:_serialized>01.01.1970</d3p1:_serialized>
      <d3p1:_value>1970-01-01T03:00:00.003+03:00</d3p1:_value>
    </SentDate>
  </Item>
  <LeadAgreements xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract" i:nil="true" />
  <LeadClients xmlns:d2p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries">
    <d2p1:ClientD>
      <Address xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 13</Address>
      <AgeCategory xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">Adult</AgeCategory>
      <AgreementsCount xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">14</AgreementsCount>
      <Birthday xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</Birthday>
      <ChangeDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</ChangeDate>
      <Citizen xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 16</Citizen>
      <CitizenId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">1</CitizenId>
      <ClientLeads xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">
        <ClientLeadInfo>
          <ClientIds xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>1</d6p1:int>
            <d6p1:int>2</d6p1:int>
          </ClientIds>
          <Created>2024-11-23T17:00:29.0737009+03:00</Created>
          <IsFailure>true</IsFailure>
          <IsMainClient>true</IsMainClient>
          <IsNew>true</IsNew>
          <IsSuccess>true</IsSuccess>
          <LeadId>5</LeadId>
          <LeadName>sample string 6</LeadName>
          <LeadStatus>sample string 7</LeadStatus>
        </ClientLeadInfo>
        <ClientLeadInfo>
          <ClientIds xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>1</d6p1:int>
            <d6p1:int>2</d6p1:int>
          </ClientIds>
          <Created>2024-11-23T17:00:29.0737009+03:00</Created>
          <IsFailure>true</IsFailure>
          <IsMainClient>true</IsMainClient>
          <IsNew>true</IsNew>
          <IsSuccess>true</IsSuccess>
          <LeadId>5</LeadId>
          <LeadName>sample string 6</LeadName>
          <LeadStatus>sample string 7</LeadStatus>
        </ClientLeadInfo>
      </ClientLeads>
      <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 17</Code>
      <Comment xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 18</Comment>
      <Constant xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">true</Constant>
      <CreateDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</CreateDate>
      <Email xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 21</Email>
      <FirstName xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 22</FirstName>
      <FirstNameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 23</FirstNameLat>
      <Gender xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">NOT_DEFINED</Gender>
      <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">1</ID>
      <LeadsCount xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">24</LeadsCount>
      <MiddleName xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 25</MiddleName>
      <MiddleNameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 26</MiddleNameLat>
      <Mobile_CC xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 27</Mobile_CC>
      <Mobile_Number xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 28</Mobile_Number>
      <Mobile_RG xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 29</Mobile_RG>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 30</Name>
      <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 31</NameLat>
      <PassportDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</PassportDate>
      <PassportDateEnd xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</PassportDateEnd>
      <PassportNumber xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 32</PassportNumber>
      <PassportRusDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</PassportRusDate>
      <PassportRusNumber xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 33</PassportRusNumber>
      <PassportRusSer xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 34</PassportRusSer>
      <PassportType xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 35</PassportType>
      <Phone xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 36</Phone>
      <PostBuilding xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 37</PostBuilding>
      <PostCity xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 38</PostCity>
      <PostFlat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 39</PostFlat>
      <PostIndex xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 40</PostIndex>
      <PostStreet xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 41</PostStreet>
      <Rank xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">42</Rank>
      <RealAddress xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 43</RealAddress>
      <UserID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">44</UserID>
      <d2p1:BirthAddress>sample string 1</d2p1:BirthAddress>
      <d2p1:BirthArea>sample string 2</d2p1:BirthArea>
      <d2p1:BirthCity>sample string 3</d2p1:BirthCity>
      <d2p1:BirthCountry>sample string 4</d2p1:BirthCountry>
      <d2p1:BirthDistrict>sample string 5</d2p1:BirthDistrict>
      <d2p1:ConnectedAgencyId>1</d2p1:ConnectedAgencyId>
      <d2p1:Documents>
        <d2p1:DocumentIdentityClients>
          <d2p1:DateFrom>2024-11-23T17:00:29.0737009+03:00</d2p1:DateFrom>
          <d2p1:DateTo>2024-11-23T17:00:29.0737009+03:00</d2p1:DateTo>
          <d2p1:IssuedBy>sample string 1</d2p1:IssuedBy>
          <d2p1:Number>sample string 2</d2p1:Number>
          <d2p1:Serial>sample string 3</d2p1:Serial>
          <d2p1:Type>4</d2p1:Type>
        </d2p1:DocumentIdentityClients>
        <d2p1:DocumentIdentityClients>
          <d2p1:DateFrom>2024-11-23T17:00:29.0737009+03:00</d2p1:DateFrom>
          <d2p1:DateTo>2024-11-23T17:00:29.0737009+03:00</d2p1:DateTo>
          <d2p1:IssuedBy>sample string 1</d2p1:IssuedBy>
          <d2p1:Number>sample string 2</d2p1:Number>
          <d2p1:Serial>sample string 3</d2p1:Serial>
          <d2p1:Type>4</d2p1:Type>
        </d2p1:DocumentIdentityClients>
      </d2p1:Documents>
      <d2p1:Emails>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
      </d2p1:Emails>
      <d2p1:ExternalId>1</d2p1:ExternalId>
      <d2p1:Family>sample string 6</d2p1:Family>
      <d2p1:Fax>sample string 7</d2p1:Fax>
      <d2p1:FileList>
        <d2p1:FilesInfo>
          <d2p1:AcceptedByReservationCenter>true</d2p1:AcceptedByReservationCenter>
          <d2p1:Date>2024-11-23T17:00:29.0737009+03:00</d2p1:Date>
          <d2p1:DocumentType>None</d2p1:DocumentType>
          <d2p1:DownloadDate>2024-11-23T17:00:29.0737009+03:00</d2p1:DownloadDate>
          <d2p1:FName>sample string 4</d2p1:FName>
          <d2p1:FileID>5</d2p1:FileID>
          <d2p1:IsAvailableForTourist>true</d2p1:IsAvailableForTourist>
          <d2p1:IsNeedSignedDocument>true</d2p1:IsNeedSignedDocument>
          <d2p1:ShowInAgreement>true</d2p1:ShowInAgreement>
          <d2p1:ShowInRequest>true</d2p1:ShowInRequest>
        </d2p1:FilesInfo>
        <d2p1:FilesInfo>
          <d2p1:AcceptedByReservationCenter>true</d2p1:AcceptedByReservationCenter>
          <d2p1:Date>2024-11-23T17:00:29.0737009+03:00</d2p1:Date>
          <d2p1:DocumentType>None</d2p1:DocumentType>
          <d2p1:DownloadDate>2024-11-23T17:00:29.0737009+03:00</d2p1:DownloadDate>
          <d2p1:FName>sample string 4</d2p1:FName>
          <d2p1:FileID>5</d2p1:FileID>
          <d2p1:IsAvailableForTourist>true</d2p1:IsAvailableForTourist>
          <d2p1:IsNeedSignedDocument>true</d2p1:IsNeedSignedDocument>
          <d2p1:ShowInAgreement>true</d2p1:ShowInAgreement>
          <d2p1:ShowInRequest>true</d2p1:ShowInRequest>
        </d2p1:FilesInfo>
      </d2p1:FileList>
      <d2p1:IsMain>true</d2p1:IsMain>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsSendSMS>true</d2p1:IsSendSMS>
      <d2p1:IsTourist>true</d2p1:IsTourist>
      <d2p1:ManagerId>1</d2p1:ManagerId>
      <d2p1:PassportByWhom>sample string 8</d2p1:PassportByWhom>
      <d2p1:PassportRusByWhom>sample string 9</d2p1:PassportRusByWhom>
      <d2p1:Phones>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
      </d2p1:Phones>
      <d2p1:PostArea>sample string 10</d2p1:PostArea>
      <d2p1:PostCountry>sample string 11</d2p1:PostCountry>
      <d2p1:PostDistrict>sample string 12</d2p1:PostDistrict>
    </d2p1:ClientD>
    <d2p1:ClientD>
      <Address xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 13</Address>
      <AgeCategory xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">Adult</AgeCategory>
      <AgreementsCount xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">14</AgreementsCount>
      <Birthday xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</Birthday>
      <ChangeDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</ChangeDate>
      <Citizen xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 16</Citizen>
      <CitizenId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">1</CitizenId>
      <ClientLeads xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">
        <ClientLeadInfo>
          <ClientIds xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>1</d6p1:int>
            <d6p1:int>2</d6p1:int>
          </ClientIds>
          <Created>2024-11-23T17:00:29.0737009+03:00</Created>
          <IsFailure>true</IsFailure>
          <IsMainClient>true</IsMainClient>
          <IsNew>true</IsNew>
          <IsSuccess>true</IsSuccess>
          <LeadId>5</LeadId>
          <LeadName>sample string 6</LeadName>
          <LeadStatus>sample string 7</LeadStatus>
        </ClientLeadInfo>
        <ClientLeadInfo>
          <ClientIds xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:int>1</d6p1:int>
            <d6p1:int>2</d6p1:int>
          </ClientIds>
          <Created>2024-11-23T17:00:29.0737009+03:00</Created>
          <IsFailure>true</IsFailure>
          <IsMainClient>true</IsMainClient>
          <IsNew>true</IsNew>
          <IsSuccess>true</IsSuccess>
          <LeadId>5</LeadId>
          <LeadName>sample string 6</LeadName>
          <LeadStatus>sample string 7</LeadStatus>
        </ClientLeadInfo>
      </ClientLeads>
      <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 17</Code>
      <Comment xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 18</Comment>
      <Constant xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">true</Constant>
      <CreateDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</CreateDate>
      <Email xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 21</Email>
      <FirstName xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 22</FirstName>
      <FirstNameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 23</FirstNameLat>
      <Gender xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">NOT_DEFINED</Gender>
      <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">1</ID>
      <LeadsCount xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">24</LeadsCount>
      <MiddleName xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 25</MiddleName>
      <MiddleNameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 26</MiddleNameLat>
      <Mobile_CC xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 27</Mobile_CC>
      <Mobile_Number xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 28</Mobile_Number>
      <Mobile_RG xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 29</Mobile_RG>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 30</Name>
      <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 31</NameLat>
      <PassportDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</PassportDate>
      <PassportDateEnd xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</PassportDateEnd>
      <PassportNumber xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 32</PassportNumber>
      <PassportRusDate xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">2024-11-23T17:00:29.0737009+03:00</PassportRusDate>
      <PassportRusNumber xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 33</PassportRusNumber>
      <PassportRusSer xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 34</PassportRusSer>
      <PassportType xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 35</PassportType>
      <Phone xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 36</Phone>
      <PostBuilding xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 37</PostBuilding>
      <PostCity xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 38</PostCity>
      <PostFlat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 39</PostFlat>
      <PostIndex xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 40</PostIndex>
      <PostStreet xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 41</PostStreet>
      <Rank xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">42</Rank>
      <RealAddress xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">sample string 43</RealAddress>
      <UserID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.WebServiceContracts.Client">44</UserID>
      <d2p1:BirthAddress>sample string 1</d2p1:BirthAddress>
      <d2p1:BirthArea>sample string 2</d2p1:BirthArea>
      <d2p1:BirthCity>sample string 3</d2p1:BirthCity>
      <d2p1:BirthCountry>sample string 4</d2p1:BirthCountry>
      <d2p1:BirthDistrict>sample string 5</d2p1:BirthDistrict>
      <d2p1:ConnectedAgencyId>1</d2p1:ConnectedAgencyId>
      <d2p1:Documents>
        <d2p1:DocumentIdentityClients>
          <d2p1:DateFrom>2024-11-23T17:00:29.0737009+03:00</d2p1:DateFrom>
          <d2p1:DateTo>2024-11-23T17:00:29.0737009+03:00</d2p1:DateTo>
          <d2p1:IssuedBy>sample string 1</d2p1:IssuedBy>
          <d2p1:Number>sample string 2</d2p1:Number>
          <d2p1:Serial>sample string 3</d2p1:Serial>
          <d2p1:Type>4</d2p1:Type>
        </d2p1:DocumentIdentityClients>
        <d2p1:DocumentIdentityClients>
          <d2p1:DateFrom>2024-11-23T17:00:29.0737009+03:00</d2p1:DateFrom>
          <d2p1:DateTo>2024-11-23T17:00:29.0737009+03:00</d2p1:DateTo>
          <d2p1:IssuedBy>sample string 1</d2p1:IssuedBy>
          <d2p1:Number>sample string 2</d2p1:Number>
          <d2p1:Serial>sample string 3</d2p1:Serial>
          <d2p1:Type>4</d2p1:Type>
        </d2p1:DocumentIdentityClients>
      </d2p1:Documents>
      <d2p1:Emails>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
      </d2p1:Emails>
      <d2p1:ExternalId>1</d2p1:ExternalId>
      <d2p1:Family>sample string 6</d2p1:Family>
      <d2p1:Fax>sample string 7</d2p1:Fax>
      <d2p1:FileList>
        <d2p1:FilesInfo>
          <d2p1:AcceptedByReservationCenter>true</d2p1:AcceptedByReservationCenter>
          <d2p1:Date>2024-11-23T17:00:29.0737009+03:00</d2p1:Date>
          <d2p1:DocumentType>None</d2p1:DocumentType>
          <d2p1:DownloadDate>2024-11-23T17:00:29.0737009+03:00</d2p1:DownloadDate>
          <d2p1:FName>sample string 4</d2p1:FName>
          <d2p1:FileID>5</d2p1:FileID>
          <d2p1:IsAvailableForTourist>true</d2p1:IsAvailableForTourist>
          <d2p1:IsNeedSignedDocument>true</d2p1:IsNeedSignedDocument>
          <d2p1:ShowInAgreement>true</d2p1:ShowInAgreement>
          <d2p1:ShowInRequest>true</d2p1:ShowInRequest>
        </d2p1:FilesInfo>
        <d2p1:FilesInfo>
          <d2p1:AcceptedByReservationCenter>true</d2p1:AcceptedByReservationCenter>
          <d2p1:Date>2024-11-23T17:00:29.0737009+03:00</d2p1:Date>
          <d2p1:DocumentType>None</d2p1:DocumentType>
          <d2p1:DownloadDate>2024-11-23T17:00:29.0737009+03:00</d2p1:DownloadDate>
          <d2p1:FName>sample string 4</d2p1:FName>
          <d2p1:FileID>5</d2p1:FileID>
          <d2p1:IsAvailableForTourist>true</d2p1:IsAvailableForTourist>
          <d2p1:IsNeedSignedDocument>true</d2p1:IsNeedSignedDocument>
          <d2p1:ShowInAgreement>true</d2p1:ShowInAgreement>
          <d2p1:ShowInRequest>true</d2p1:ShowInRequest>
        </d2p1:FilesInfo>
      </d2p1:FileList>
      <d2p1:IsMain>true</d2p1:IsMain>
      <d2p1:IsSendEmail>true</d2p1:IsSendEmail>
      <d2p1:IsSendSMS>true</d2p1:IsSendSMS>
      <d2p1:IsTourist>true</d2p1:IsTourist>
      <d2p1:ManagerId>1</d2p1:ManagerId>
      <d2p1:PassportByWhom>sample string 8</d2p1:PassportByWhom>
      <d2p1:PassportRusByWhom>sample string 9</d2p1:PassportRusByWhom>
      <d2p1:Phones>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
        <d2p1:TagsContactReferenceInfo>
          <d2p1:ID>1</d2p1:ID>
          <d2p1:Main>true</d2p1:Main>
          <d2p1:Tag>
            <ID xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">7</ID>
            <IsPredefined xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsPredefined>
            <Name xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 9</Name>
            <Code xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 5</Code>
            <NameLat xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 6</NameLat>
            <CanMaped xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</CanMaped>
            <IsExternal xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">true</IsExternal>
            <MappingId xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">1</MappingId>
            <RecordSource xmlns="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries.Abstract">sample string 4</RecordSource>
            <d2p1:Default>true</d2p1:Default>
            <d2p1:Type>phone</d2p1:Type>
          </d2p1:Tag>
          <d2p1:Value>sample string 2</d2p1:Value>
        </d2p1:TagsContactReferenceInfo>
      </d2p1:Phones>
      <d2p1:PostArea>sample string 10</d2p1:PostArea>
      <d2p1:PostCountry>sample string 11</d2p1:PostCountry>
      <d2p1:PostDistrict>sample string 12</d2p1:PostDistrict>
    </d2p1:ClientD>
  </LeadClients>
  <LeadOffers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.LeadOffer.Contract">
    <d2p1:LeadOfferItemData>
      <d2p1:CityId>1</d2p1:CityId>
      <d2p1:CityName>sample string 3</d2p1:CityName>
      <d2p1:CountryId>1</d2p1:CountryId>
      <d2p1:CountryName>sample string 2</d2p1:CountryName>
      <d2p1:CurrencyId>1</d2p1:CurrencyId>
      <d2p1:CurrencyName>sample string 4</d2p1:CurrencyName>
      <d2p1:DateFrom xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateFrom>
      <d2p1:DateTo xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateTo>
      <d2p1:Description>sample string 7</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InternalHotelUrl>sample string 9</d2p1:InternalHotelUrl>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:LeadOfferSource>1</d2p1:LeadOfferSource>
      <d2p1:PartnerId>1</d2p1:PartnerId>
      <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
      <d2p1:Price>1.1</d2p1:Price>
      <d2p1:StatusId>5</d2p1:StatusId>
      <d2p1:StatusName>sample string 6</d2p1:StatusName>
      <d2p1:TourData xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.FavouriteTour.Contract">
        <d4p1:Accommodation>sample string 10</d4p1:Accommodation>
        <d4p1:Adults>13</d4p1:Adults>
        <d4p1:CategoryCode>sample string 21</d4p1:CategoryCode>
        <d4p1:CategoryName>sample string 22</d4p1:CategoryName>
        <d4p1:CityCode>sample string 19</d4p1:CityCode>
        <d4p1:CityName>sample string 20</d4p1:CityName>
        <d4p1:CountryCode>sample string 17</d4p1:CountryCode>
        <d4p1:CountryName>sample string 18</d4p1:CountryName>
        <d4p1:CurrencyCode>sample string 12</d4p1:CurrencyCode>
        <d4p1:DepartureCityCode>sample string 2</d4p1:DepartureCityCode>
        <d4p1:DepartureCityName>sample string 3</d4p1:DepartureCityName>
        <d4p1:DepartureDate>sample string 4</d4p1:DepartureDate>
        <d4p1:FavouriteSelectionsId>1</d4p1:FavouriteSelectionsId>
        <d4p1:HotelCode>sample string 7</d4p1:HotelCode>
        <d4p1:HotelName>sample string 6</d4p1:HotelName>
        <d4p1:Hotels>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
        </d4p1:Hotels>
        <d4p1:Id>1</d4p1:Id>
        <d4p1:ImageId>sample string 15</d4p1:ImageId>
        <d4p1:Kids>sample string 14</d4p1:Kids>
        <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
        <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
        <d4p1:Nights>5</d4p1:Nights>
        <d4p1:Price>11</d4p1:Price>
        <d4p1:Rating>sample string 24</d4p1:Rating>
        <d4p1:SupplierCode>sample string 16</d4p1:SupplierCode>
        <d4p1:SupplierName>sample string 23</d4p1:SupplierName>
      </d2p1:TourData>
      <d2p1:Url>sample string 8</d2p1:Url>
    </d2p1:LeadOfferItemData>
    <d2p1:LeadOfferItemData>
      <d2p1:CityId>1</d2p1:CityId>
      <d2p1:CityName>sample string 3</d2p1:CityName>
      <d2p1:CountryId>1</d2p1:CountryId>
      <d2p1:CountryName>sample string 2</d2p1:CountryName>
      <d2p1:CurrencyId>1</d2p1:CurrencyId>
      <d2p1:CurrencyName>sample string 4</d2p1:CurrencyName>
      <d2p1:DateFrom xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateFrom>
      <d2p1:DateTo xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateTo>
      <d2p1:Description>sample string 7</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InternalHotelUrl>sample string 9</d2p1:InternalHotelUrl>
      <d2p1:IsEdit>true</d2p1:IsEdit>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:LeadOfferSource>1</d2p1:LeadOfferSource>
      <d2p1:PartnerId>1</d2p1:PartnerId>
      <d2p1:PartnerName>sample string 10</d2p1:PartnerName>
      <d2p1:Price>1.1</d2p1:Price>
      <d2p1:StatusId>5</d2p1:StatusId>
      <d2p1:StatusName>sample string 6</d2p1:StatusName>
      <d2p1:TourData xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.FavouriteTour.Contract">
        <d4p1:Accommodation>sample string 10</d4p1:Accommodation>
        <d4p1:Adults>13</d4p1:Adults>
        <d4p1:CategoryCode>sample string 21</d4p1:CategoryCode>
        <d4p1:CategoryName>sample string 22</d4p1:CategoryName>
        <d4p1:CityCode>sample string 19</d4p1:CityCode>
        <d4p1:CityName>sample string 20</d4p1:CityName>
        <d4p1:CountryCode>sample string 17</d4p1:CountryCode>
        <d4p1:CountryName>sample string 18</d4p1:CountryName>
        <d4p1:CurrencyCode>sample string 12</d4p1:CurrencyCode>
        <d4p1:DepartureCityCode>sample string 2</d4p1:DepartureCityCode>
        <d4p1:DepartureCityName>sample string 3</d4p1:DepartureCityName>
        <d4p1:DepartureDate>sample string 4</d4p1:DepartureDate>
        <d4p1:FavouriteSelectionsId>1</d4p1:FavouriteSelectionsId>
        <d4p1:HotelCode>sample string 7</d4p1:HotelCode>
        <d4p1:HotelName>sample string 6</d4p1:HotelName>
        <d4p1:Hotels>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
          <d4p1:TourOfferHotelInfo>
            <d4p1:Accommodation>sample string 4</d4p1:Accommodation>
            <d4p1:Adults>5</d4p1:Adults>
            <d4p1:CategoryCode>sample string 10</d4p1:CategoryCode>
            <d4p1:CategoryName>sample string 11</d4p1:CategoryName>
            <d4p1:CityCode>sample string 14</d4p1:CityCode>
            <d4p1:CityName>sample string 15</d4p1:CityName>
            <d4p1:CountryCode>sample string 12</d4p1:CountryCode>
            <d4p1:CountryName>sample string 13</d4p1:CountryName>
            <d4p1:HotelCode>sample string 3</d4p1:HotelCode>
            <d4p1:HotelDescription>sample string 17</d4p1:HotelDescription>
            <d4p1:HotelName>sample string 2</d4p1:HotelName>
            <d4p1:ImageId>sample string 7</d4p1:ImageId>
            <d4p1:Kids>sample string 6</d4p1:Kids>
            <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
            <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
            <d4p1:Nights>1</d4p1:Nights>
            <d4p1:Rating>sample string 16</d4p1:Rating>
          </d4p1:TourOfferHotelInfo>
        </d4p1:Hotels>
        <d4p1:Id>1</d4p1:Id>
        <d4p1:ImageId>sample string 15</d4p1:ImageId>
        <d4p1:Kids>sample string 14</d4p1:Kids>
        <d4p1:MealTypeCode>sample string 8</d4p1:MealTypeCode>
        <d4p1:MealTypeName>sample string 9</d4p1:MealTypeName>
        <d4p1:Nights>5</d4p1:Nights>
        <d4p1:Price>11</d4p1:Price>
        <d4p1:Rating>sample string 24</d4p1:Rating>
        <d4p1:SupplierCode>sample string 16</d4p1:SupplierCode>
        <d4p1:SupplierName>sample string 23</d4p1:SupplierName>
      </d2p1:TourData>
      <d2p1:Url>sample string 8</d2p1:Url>
    </d2p1:LeadOfferItemData>
  </LeadOffers>
  <Tasks xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Tasks">
    <d2p1:ManagerTask>
      <d2p1:AgreementCode>sample string 15</d2p1:AgreementCode>
      <d2p1:AgreementId>1</d2p1:AgreementId>
      <d2p1:CreatorUserId>7</d2p1:CreatorUserId>
      <d2p1:CreatorUserName>sample string 14</d2p1:CreatorUserName>
      <d2p1:DateBegin>
        <_format xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 4</_format>
        <_serialized xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">01.01.1970 03:00</_serialized>
        <_value xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">1970-01-01T03:00:00.003+03:00</_value>
      </d2p1:DateBegin>
      <d2p1:DateClosed xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateClosed>
      <d2p1:DateCreated xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateCreated>
      <d2p1:DateEnd>
        <_format xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 4</_format>
        <_serialized xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">01.01.1970 03:00</_serialized>
        <_value xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">1970-01-01T03:00:00.003+03:00</_value>
      </d2p1:DateEnd>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ImplementorUserId>1</d2p1:ImplementorUserId>
      <d2p1:ImplementorUserName>sample string 13</d2p1:ImplementorUserName>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:NeedRemind>true</d2p1:NeedRemind>
      <d2p1:PriorityId>3</d2p1:PriorityId>
      <d2p1:PriorityName>sample string 11</d2p1:PriorityName>
      <d2p1:RemindMinutes>9.1</d2p1:RemindMinutes>
      <d2p1:StatusId>2</d2p1:StatusId>
      <d2p1:StatusName>sample string 10</d2p1:StatusName>
      <d2p1:TaskTypeId>4</d2p1:TaskTypeId>
      <d2p1:TaskTypeName>sample string 12</d2p1:TaskTypeName>
      <d2p1:Title>sample string 5</d2p1:Title>
    </d2p1:ManagerTask>
    <d2p1:ManagerTask>
      <d2p1:AgreementCode>sample string 15</d2p1:AgreementCode>
      <d2p1:AgreementId>1</d2p1:AgreementId>
      <d2p1:CreatorUserId>7</d2p1:CreatorUserId>
      <d2p1:CreatorUserName>sample string 14</d2p1:CreatorUserName>
      <d2p1:DateBegin>
        <_format xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 4</_format>
        <_serialized xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">01.01.1970 03:00</_serialized>
        <_value xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">1970-01-01T03:00:00.003+03:00</_value>
      </d2p1:DateBegin>
      <d2p1:DateClosed xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateClosed>
      <d2p1:DateCreated xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
        <d4p1:_format>sample string 4</d4p1:_format>
        <d4p1:_serialized>01.01.1970</d4p1:_serialized>
        <d4p1:_value>1970-01-01T03:00:00.003+03:00</d4p1:_value>
      </d2p1:DateCreated>
      <d2p1:DateEnd>
        <_format xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 4</_format>
        <_serialized xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">01.01.1970 03:00</_serialized>
        <_value xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">1970-01-01T03:00:00.003+03:00</_value>
      </d2p1:DateEnd>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ImplementorUserId>1</d2p1:ImplementorUserId>
      <d2p1:ImplementorUserName>sample string 13</d2p1:ImplementorUserName>
      <d2p1:LeadId>1</d2p1:LeadId>
      <d2p1:NeedRemind>true</d2p1:NeedRemind>
      <d2p1:PriorityId>3</d2p1:PriorityId>
      <d2p1:PriorityName>sample string 11</d2p1:PriorityName>
      <d2p1:RemindMinutes>9.1</d2p1:RemindMinutes>
      <d2p1:StatusId>2</d2p1:StatusId>
      <d2p1:StatusName>sample string 10</d2p1:StatusName>
      <d2p1:TaskTypeId>4</d2p1:TaskTypeId>
      <d2p1:TaskTypeName>sample string 12</d2p1:TaskTypeName>
      <d2p1:Title>sample string 5</d2p1:Title>
    </d2p1:ManagerTask>
  </Tasks>
</GetLeadResponse>