GET api/Lead/Get/{name}
Получение списка лидов по фильтру или без него
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadId |
Идентификатор лида |
integer |
None. |
| DateFrom |
начало периода |
SerializedDateTime |
None. |
| DateTo |
окончание периода |
SerializedDateTime |
None. |
| PeriodType |
тип периода |
DateType |
None. |
| Name |
часть названия/клиента/контактов для поиска |
string |
None. |
| FullConditions |
использование поиска по вхождению |
boolean |
None. |
| AvailableIds |
??? |
Collection of integer |
None. |
| ManagerId |
менеджер |
integer |
None. |
| StatusId |
статус путевки |
integer |
None. |
| LeadStatusId |
статус лида |
integer |
None. |
| CountryId |
страна |
integer |
None. |
| CountryIds |
Перечень выбранных стран |
Collection of integer |
None. |
| DepartmentId |
офис |
integer |
None. |
| DepartmentIds |
Перечень выбранных офисов |
Collection of integer |
None. |
| ManagerIds |
Перечень выбранных менеджеров |
Collection of integer |
None. |
| AdvertisementIds |
Перечень выбранных источников рекламы |
Collection of integer |
None. |
| StatusIds |
Перечень выбранных статусов лидов |
Collection of integer |
None. |
| AgreementStatusIds |
Перечень выбранных статусов путевок |
Collection of integer |
None. |
| AgreementStatusId |
статус путевки |
integer |
None. |
| AdvertisementId |
источник лида (вид рекламы) |
integer |
None. |
| ClientId | integer |
None. |
|
| IsNearestEventExists |
Имеется ближайшая задача |
boolean |
None. |
| IsApplyDefaultFilter | boolean |
None. |
|
| InArchive |
Лиды из архива |
boolean |
None. |
| Source | integer |
None. |
|
| SubAgents |
список субагентов |
Collection of integer |
None. |
| CurrencyIds |
список валют бюджета |
Collection of string |
None. |
| ClentEmail | string |
None. |
|
| ClientPhone | string |
None. |
|
| HasOffer |
с подборками (лиды, в которых есть предложения) |
boolean |
None. |
| AddValues |
Массив дополнительных полей |
Collection of Pair of string [key] and string [value] |
None. |
| AddValuesString |
Массив дополнительных полей строкой |
Collection of string |
None. |
| PriceTo |
Бюджет от |
integer |
None. |
| PriceFrom |
Бюджет до |
integer |
None. |
| Adults |
количество взрослых |
integer |
None. |
| Children |
количество детей |
integer |
None. |
| PerPage | integer |
None. |
|
| CurrentPage | integer |
None. |
|
| OrderBy | Collection of string |
None. |
|
| OrderingFields | Collection of OrderingField |
None. |
|
| name | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Коллекция лидов, отсортированная по наименованию
GetAllLeadsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of LeadListItemData |
None. |
|
| SearchInfo | SearchInfo |
None. |
|
| ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
{
"Items": [
{
"ID": 1,
"Name": "sample string 1",
"UrlSource": "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
},
{
"ID": 1,
"Name": "sample string 1",
"UrlSource": "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
}
],
"SearchInfo": {
"ResultsCount": 1,
"PageCount": 2
},
"RedirectUrl": "sample string 1",
"ResultQueryInfo": {
"ResultsCount": 1,
"HasError": false,
"Info": [],
"CacheStorageTimeEnd": true,
"RefreshPeriod": 0,
"DelFromCacheDateTime": "2025-11-02T13:20:33.8043629+03:00",
"UserMessages": "",
"UserMessagesHtml": ""
}
}
application/xml, text/xml
<GetAllLeadsResponse 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>2025-11-02T13:20:33.8043629+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
<_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
<info />
</ResultQueryInfo>
<Items>
<LeadListItemData>
<AddValues xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract">
<d4p1:AdditionalValueInfoForLists>
<d4p1:FieldName>sample string 1</d4p1:FieldName>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:AdditionalValueInfoForLists>
<d4p1:AdditionalValueInfoForLists>
<d4p1:FieldName>sample string 1</d4p1:FieldName>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:AdditionalValueInfoForLists>
</AddValues>
<Adults>1</Adults>
<Advertisement>sample string 13</Advertisement>
<AdvertisementID>1</AdvertisementID>
<AgreementStatuses xmlns:d4p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries">
<d4p1: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>
<d4p1:CanMaped>true</d4p1:CanMaped>
<d4p1:Color>sample string 2</d4p1:Color>
<d4p1:EnumId>1</d4p1:EnumId>
<d4p1:ForOkReset>true</d4p1:ForOkReset>
<d4p1:IsCanceled>true</d4p1:IsCanceled>
<d4p1:IsExternal>true</d4p1:IsExternal>
<d4p1:IsInvalidated>true</d4p1:IsInvalidated>
<d4p1:IsOk>true</d4p1:IsOk>
<d4p1:MappingId>1</d4p1:MappingId>
<d4p1:MessageToSend>sample string 8</d4p1:MessageToSend>
<d4p1:RecordSource>sample string 9</d4p1:RecordSource>
<d4p1:SendMessageOnSelect>true</d4p1:SendMessageOnSelect>
<d4p1:SortOrder>11</d4p1:SortOrder>
<d4p1:Type>12</d4p1:Type>
</d4p1:StatusInfo>
<d4p1: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>
<d4p1:CanMaped>true</d4p1:CanMaped>
<d4p1:Color>sample string 2</d4p1:Color>
<d4p1:EnumId>1</d4p1:EnumId>
<d4p1:ForOkReset>true</d4p1:ForOkReset>
<d4p1:IsCanceled>true</d4p1:IsCanceled>
<d4p1:IsExternal>true</d4p1:IsExternal>
<d4p1:IsInvalidated>true</d4p1:IsInvalidated>
<d4p1:IsOk>true</d4p1:IsOk>
<d4p1:MappingId>1</d4p1:MappingId>
<d4p1:MessageToSend>sample string 8</d4p1:MessageToSend>
<d4p1:RecordSource>sample string 9</d4p1:RecordSource>
<d4p1:SendMessageOnSelect>true</d4p1:SendMessageOnSelect>
<d4p1:SortOrder>11</d4p1:SortOrder>
<d4p1:Type>12</d4p1:Type>
</d4p1:StatusInfo>
</AgreementStatuses>
<BudgetFrom>1</BudgetFrom>
<BudgetTo>1</BudgetTo>
<Children>1</Children>
<ClientChangeDate 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>
</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: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>
</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: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>
</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 1</Name>
<NearestEventDate 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>
</NearestEventDate>
<NearestEventId>1</NearestEventId>
<NearestEventName>sample string 15</NearestEventName>
<Note>true</Note>
<NotificationDate 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>
</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: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>
</StartDate>
<SubAgentPartnerId>1</SubAgentPartnerId>
<SubAgentPartnerLegalId>1</SubAgentPartnerLegalId>
<UrlSource>sample string 2</UrlSource>
<User>sample string 14</User>
<UserChangeDate 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>
</UserChangeDate>
<UserID>1</UserID>
</LeadListItemData>
<LeadListItemData>
<AddValues xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract">
<d4p1:AdditionalValueInfoForLists>
<d4p1:FieldName>sample string 1</d4p1:FieldName>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:AdditionalValueInfoForLists>
<d4p1:AdditionalValueInfoForLists>
<d4p1:FieldName>sample string 1</d4p1:FieldName>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:AdditionalValueInfoForLists>
</AddValues>
<Adults>1</Adults>
<Advertisement>sample string 13</Advertisement>
<AdvertisementID>1</AdvertisementID>
<AgreementStatuses xmlns:d4p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries">
<d4p1: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>
<d4p1:CanMaped>true</d4p1:CanMaped>
<d4p1:Color>sample string 2</d4p1:Color>
<d4p1:EnumId>1</d4p1:EnumId>
<d4p1:ForOkReset>true</d4p1:ForOkReset>
<d4p1:IsCanceled>true</d4p1:IsCanceled>
<d4p1:IsExternal>true</d4p1:IsExternal>
<d4p1:IsInvalidated>true</d4p1:IsInvalidated>
<d4p1:IsOk>true</d4p1:IsOk>
<d4p1:MappingId>1</d4p1:MappingId>
<d4p1:MessageToSend>sample string 8</d4p1:MessageToSend>
<d4p1:RecordSource>sample string 9</d4p1:RecordSource>
<d4p1:SendMessageOnSelect>true</d4p1:SendMessageOnSelect>
<d4p1:SortOrder>11</d4p1:SortOrder>
<d4p1:Type>12</d4p1:Type>
</d4p1:StatusInfo>
<d4p1: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>
<d4p1:CanMaped>true</d4p1:CanMaped>
<d4p1:Color>sample string 2</d4p1:Color>
<d4p1:EnumId>1</d4p1:EnumId>
<d4p1:ForOkReset>true</d4p1:ForOkReset>
<d4p1:IsCanceled>true</d4p1:IsCanceled>
<d4p1:IsExternal>true</d4p1:IsExternal>
<d4p1:IsInvalidated>true</d4p1:IsInvalidated>
<d4p1:IsOk>true</d4p1:IsOk>
<d4p1:MappingId>1</d4p1:MappingId>
<d4p1:MessageToSend>sample string 8</d4p1:MessageToSend>
<d4p1:RecordSource>sample string 9</d4p1:RecordSource>
<d4p1:SendMessageOnSelect>true</d4p1:SendMessageOnSelect>
<d4p1:SortOrder>11</d4p1:SortOrder>
<d4p1:Type>12</d4p1:Type>
</d4p1:StatusInfo>
</AgreementStatuses>
<BudgetFrom>1</BudgetFrom>
<BudgetTo>1</BudgetTo>
<Children>1</Children>
<ClientChangeDate 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>
</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: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>
</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: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>
</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 1</Name>
<NearestEventDate 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>
</NearestEventDate>
<NearestEventId>1</NearestEventId>
<NearestEventName>sample string 15</NearestEventName>
<Note>true</Note>
<NotificationDate 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>
</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: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>
</StartDate>
<SubAgentPartnerId>1</SubAgentPartnerId>
<SubAgentPartnerLegalId>1</SubAgentPartnerLegalId>
<UrlSource>sample string 2</UrlSource>
<User>sample string 14</User>
<UserChangeDate 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>
</UserChangeDate>
<UserID>1</UserID>
</LeadListItemData>
</Items>
<SearchInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models">
<d2p1:PageCount>2</d2p1:PageCount>
<d2p1:ResultsCount>1</d2p1:ResultsCount>
</SearchInfo>
</GetAllLeadsResponse>