GET api/lead/all
Request Information
URI Parameters
None.
Body Parameters
GetAllLeadsRequestName | 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. |
Request Formats
application/json, text/json
{ "LeadId": 1, "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" }, "PeriodType": "DateCreate", "Name": "sample string 1", "FullConditions": true, "AvailableIds": [ 1, 2 ], "ManagerId": 1, "StatusId": 1, "LeadStatusId": 1, "CountryId": 1, "CountryIds": [ 1, 2 ], "DepartmentId": 1, "DepartmentIds": [ 1, 2 ], "ManagerIds": [ 1, 2 ], "AdvertisementIds": [ 1, 2 ], "StatusIds": [ 1, 2 ], "AgreementStatusIds": [ 1, 2 ], "AgreementStatusId": 1, "AdvertisementId": 1, "ClientId": 1, "IsNearestEventExists": true, "IsApplyDefaultFilter": true, "InArchive": true, "Source": 1, "SubAgents": [ 1, 2 ], "CurrencyIds": [ "sample string 1", "sample string 2" ], "ClentEmail": "sample string 6", "ClientPhone": "sample string 7", "HasOffer": true, "AddValues": [ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ], "AddValuesString": [ "sample string 1", "sample string 2" ], "PriceTo": 1, "PriceFrom": 1, "Adults": 1, "Children": 1, "PerPage": 9, "CurrentPage": 10, "OrderBy": [ "sample string 1", "sample string 2" ], "OrderingFields": [ { "Name": "sample string 1", "IsDescending": false }, { "Name": "sample string 2", "IsDescending": false } ] }
application/xml, text/xml
<GetAllLeadsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Lead.Contract"> <CurrentPage xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">10</CurrentPage> <OrderBy xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </OrderBy> <OrderingFields xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <OrderingField> <IsDescending>false</IsDescending> <Name>sample string 1</Name> </OrderingField> <OrderingField> <IsDescending>false</IsDescending> <Name>sample string 2</Name> </OrderingField> </OrderingFields> <PerPage xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">9</PerPage> <AddValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <d2p1:KeyValuePairOfstringstring> <d2p1:key>sample string 1</d2p1:key> <d2p1:value>sample string 2</d2p1:value> </d2p1:KeyValuePairOfstringstring> <d2p1:KeyValuePairOfstringstring> <d2p1:key>sample string 1</d2p1:key> <d2p1:value>sample string 2</d2p1:value> </d2p1:KeyValuePairOfstringstring> </AddValues> <AddValuesString xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </AddValuesString> <Adults>1</Adults> <AdvertisementId>1</AdvertisementId> <AdvertisementIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </AdvertisementIds> <AgreementStatusId>1</AgreementStatusId> <AgreementStatusIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </AgreementStatusIds> <AvailableIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </AvailableIds> <Children>1</Children> <ClentEmail>sample string 6</ClentEmail> <ClientId>1</ClientId> <ClientPhone>sample string 7</ClientPhone> <CountryId>1</CountryId> <CountryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </CountryIds> <CurrencyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CurrencyIds> <DateFrom xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d2p1:_format>sample string 4</d2p1:_format> <d2p1:_serialized>01.01.1970</d2p1:_serialized> <d2p1:_value>1970-01-01T03:00:00.003+03:00</d2p1:_value> </DateFrom> <DateTo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d2p1:_format>sample string 4</d2p1:_format> <d2p1:_serialized>01.01.1970</d2p1:_serialized> <d2p1:_value>1970-01-01T03:00:00.003+03:00</d2p1:_value> </DateTo> <DepartmentId>1</DepartmentId> <DepartmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </DepartmentIds> <FullConditions>true</FullConditions> <HasOffer>true</HasOffer> <InArchive>true</InArchive> <IsApplyDefaultFilter>true</IsApplyDefaultFilter> <IsNearestEventExists>true</IsNearestEventExists> <LeadId>1</LeadId> <LeadStatusId>1</LeadStatusId> <ManagerId>1</ManagerId> <ManagerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ManagerIds> <Name>sample string 1</Name> <PeriodType>DateCreate</PeriodType> <PriceFrom>1</PriceFrom> <PriceTo>1</PriceTo> <Source>1</Source> <StatusId>1</StatusId> <StatusIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </StatusIds> <SubAgents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SubAgents> </GetAllLeadsRequest>
application/x-www-form-urlencoded
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:35:14.637242+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:35:14.637242+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>