GET api/Lead/Get
Получение списка лидов по фильтру или без него
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. |
Body Parameters
None.
Response Information
Resource Description
Коллекция лидов, отсортированная по наименованию
GetAllLeadsResponseName | 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", "ClientName": "sample string 2", "ClientFirstName": "sample string 3", "ClientPhone": "sample string 4", "ClientEmail": "sample string 5", "Description": "sample string 6", "LeadStatusName": "sample string 7", "LeadStatusID": 8, "LeadStatusColor": "sample string 9", "Country": "sample string 10", "CountryID": 1, "Department": "sample string 11", "DepartmentID": 1, "Advertisement": "sample string 12", "AdvertisementID": 1, "User": "sample string 13", "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 14", "NearestEventId": 1, "StatusColor": "sample string 15", "NotificationDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PartnerLegalEntity": "sample string 16", "PartnerLegalEntityId": 1, "PartnerId": 1, "MessageForClient": "sample string 17", "InArchive": true, "CreatorId": 1, "CreatorName": "sample string 19", "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 20", "Note": true, "OffersCount": 21, "OrderNumbers": "sample string 22", "PreorderNumbers": "sample string 23", "Currency": "sample string 24", "AddValues": [ { "FieldName": "sample string 1", "Value": "sample string 2" }, { "FieldName": "sample string 1", "Value": "sample string 2" } ], "CurrencyName": "sample string 25", "SubAgentPartnerId": 1, "SubAgentPartnerLegalId": 1, "Source": 1, "IsOverdue": true, "IsActiveTask": true }, { "ID": 1, "Name": "sample string 1", "ClientName": "sample string 2", "ClientFirstName": "sample string 3", "ClientPhone": "sample string 4", "ClientEmail": "sample string 5", "Description": "sample string 6", "LeadStatusName": "sample string 7", "LeadStatusID": 8, "LeadStatusColor": "sample string 9", "Country": "sample string 10", "CountryID": 1, "Department": "sample string 11", "DepartmentID": 1, "Advertisement": "sample string 12", "AdvertisementID": 1, "User": "sample string 13", "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 14", "NearestEventId": 1, "StatusColor": "sample string 15", "NotificationDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PartnerLegalEntity": "sample string 16", "PartnerLegalEntityId": 1, "PartnerId": 1, "MessageForClient": "sample string 17", "InArchive": true, "CreatorId": 1, "CreatorName": "sample string 19", "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 20", "Note": true, "OffersCount": 21, "OrderNumbers": "sample string 22", "PreorderNumbers": "sample string 23", "Currency": "sample string 24", "AddValues": [ { "FieldName": "sample string 1", "Value": "sample string 2" }, { "FieldName": "sample string 1", "Value": "sample string 2" } ], "CurrencyName": "sample string 25", "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": "2024-11-23T17:13:18.3030584+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>2024-11-23T17:13:18.3030584+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 12</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 5</ClientEmail> <ClientFirstName>sample string 3</ClientFirstName> <ClientName>sample string 2</ClientName> <ClientPhone>sample string 4</ClientPhone> <Country>sample string 10</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 19</CreatorName> <Currency>sample string 24</Currency> <CurrencyName>sample string 25</CurrencyName> <Department>sample string 11</Department> <DepartmentID>1</DepartmentID> <Description>sample string 6</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 9</LeadStatusColor> <LeadStatusID>8</LeadStatusID> <LeadStatusName>sample string 7</LeadStatusName> <MessageForClient>sample string 17</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 14</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>21</OffersCount> <OrderNumbers>sample string 22</OrderNumbers> <PartnerId>1</PartnerId> <PartnerLegalEntity>sample string 16</PartnerLegalEntity> <PartnerLegalEntityId>1</PartnerLegalEntityId> <PartnerName>sample string 20</PartnerName> <PreorderNumbers>sample string 23</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> <User>sample string 13</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 12</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 5</ClientEmail> <ClientFirstName>sample string 3</ClientFirstName> <ClientName>sample string 2</ClientName> <ClientPhone>sample string 4</ClientPhone> <Country>sample string 10</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 19</CreatorName> <Currency>sample string 24</Currency> <CurrencyName>sample string 25</CurrencyName> <Department>sample string 11</Department> <DepartmentID>1</DepartmentID> <Description>sample string 6</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 9</LeadStatusColor> <LeadStatusID>8</LeadStatusID> <LeadStatusName>sample string 7</LeadStatusName> <MessageForClient>sample string 17</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 14</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>21</OffersCount> <OrderNumbers>sample string 22</OrderNumbers> <PartnerId>1</PartnerId> <PartnerLegalEntity>sample string 16</PartnerLegalEntity> <PartnerLegalEntityId>1</PartnerLegalEntityId> <PartnerName>sample string 20</PartnerName> <PreorderNumbers>sample string 23</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> <User>sample string 13</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>