PUT api/ClientApi/Put/{name}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
Body Parameters
UpdateClientRequestName | Description | Type | Additional information |
---|---|---|---|
IsSkipValidation | boolean |
None. |
|
CheckClients | boolean |
None. |
|
requestData | RequestDataTemp |
None. |
|
ClientEditType | EditType |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsSkipValidation": true, "CheckClients": true, "requestData": { "ClientData": { "BirthCity": "sample string 1", "BirthCountry": "sample string 2", "PassportByWhom": "sample string 3", "PassportRusByWhom": "sample string 4", "Family": "sample string 5", "Fax": "sample string 6", "BirthArea": "sample string 7", "BirthDistrict": "sample string 8", "PostCountry": "sample string 9", "PostArea": "sample string 10", "PostDistrict": "sample string 11", "IsSendSMS": true, "IsSendEmail": true, "ManagerId": 1, "FileList": [ { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 }, { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 } ], "PhoneCallId": "sample string 12", "Phones": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Emails": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Documents": [ { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" }, { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" } ], "BirthAddress": "sample string 13", "ClientLeads": [ { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true }, { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true } ], "ID": 1, "Name": "sample string 14", "FirstName": "sample string 15", "MiddleName": "sample string 16", "NameLat": "sample string 17", "FirstNameLat": "sample string 18", "MiddleNameLat": "sample string 19", "Birthday": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Age": "sample string 20", "PostIndex": "sample string 21", "PostCity": "sample string 22", "PostStreet": "sample string 23", "PostBuilding": "sample string 24", "PostFlat": "sample string 25", "Phone": "sample string 26", "PassportType": "sample string 27", "PassportNumber": "sample string 28", "PassportDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportDateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportRusSer": "sample string 29", "PassportRusNumber": "sample string 30", "PassportRusDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Code": "sample string 31", "Comment": "sample string 32", "Email": "sample string 33", "Constant": true, "CreateDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "ChangeDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "UserID": 35, "Mobile_CC": "sample string 36", "Mobile_RG": "sample string 37", "Mobile_Number": "sample string 38", "Gender": "MAN", "GenderName": "Мужской", "Citizen": "sample string 39", "CitizenId": 1, "AgeCategory": "ADULT", "LeadsCount": 40, "AgreementsCount": 41, "Address": "sample string 42", "RealAddress": "sample string 43", "Manager": { "CanLogin": true, "Code": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "Email": "sample string 5", "FirstName": "sample string 6", "Id": 7, "IsNeedPassword": true, "IsNewLogin": true, "Login": "sample string 10", "MiddleName": "sample string 11", "Name": "sample string 12", "OldLogin": "sample string 13", "Password": "sample string 14" } }, "CountriesIds": [ 1, 2 ], "Notes": [ { "Id": 1, "Text": "sample string 1", "TypeId": 2, "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CreatorId": 1, "CreatorName": "sample string 3" }, { "Id": 1, "Text": "sample string 1", "TypeId": 2, "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CreatorId": 1, "CreatorName": "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 } ] }, "ClientEditType": 0 }
application/xml, text/xml
Sample:
<UpdateClientRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Client.Contract"> <CheckClients>true</CheckClients> <ClientEditType>FullDialog</ClientEditType> <IsSkipValidation>true</IsSkipValidation> <requestData> <AdditionalValues> <AdditionalValueInfo> <AdditionalTypeId>5</AdditionalTypeId> <AdditionalValueTypeId>2</AdditionalValueTypeId> <Options> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> </Options> <Required>true</Required> <SelectedOptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </SelectedOptions> <Title>sample string 1</Title> <Value>sample string 3</Value> </AdditionalValueInfo> <AdditionalValueInfo> <AdditionalTypeId>5</AdditionalTypeId> <AdditionalValueTypeId>2</AdditionalValueTypeId> <Options> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> </Options> <Required>true</Required> <SelectedOptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </SelectedOptions> <Title>sample string 1</Title> <Value>sample string 3</Value> </AdditionalValueInfo> </AdditionalValues> <ClientData> <Address>sample string 42</Address> <Age>sample string 20</Age> <AgeCategory>ADULT</AgeCategory> <AgreementsCount>41</AgreementsCount> <Birthday 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> </Birthday> <ChangeDate 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> </ChangeDate> <Citizen>sample string 39</Citizen> <CitizenId>1</CitizenId> <Code>sample string 31</Code> <Comment>sample string 32</Comment> <Constant>true</Constant> <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> <Email>sample string 33</Email> <FirstName>sample string 15</FirstName> <FirstNameLat>sample string 18</FirstNameLat> <Gender>MAN</Gender> <ID>1</ID> <LeadsCount>40</LeadsCount> <Manager xmlns:d4p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries"> <d4p1:CanLogin>true</d4p1:CanLogin> <d4p1:Code>sample string 2</d4p1:Code> <d4p1:DepartmentId>3</d4p1:DepartmentId> <d4p1:DepartmentName>sample string 4</d4p1:DepartmentName> <d4p1:Email>sample string 5</d4p1:Email> <d4p1:FirstName>sample string 6</d4p1:FirstName> <d4p1:Id>7</d4p1:Id> <d4p1:IsNeedPassword>true</d4p1:IsNeedPassword> <d4p1:IsNewLogin>true</d4p1:IsNewLogin> <d4p1:Login>sample string 10</d4p1:Login> <d4p1:MiddleName>sample string 11</d4p1:MiddleName> <d4p1:Name>sample string 12</d4p1:Name> <d4p1:OldLogin>sample string 13</d4p1:OldLogin> <d4p1:Password>sample string 14</d4p1:Password> </Manager> <MiddleName>sample string 16</MiddleName> <MiddleNameLat>sample string 19</MiddleNameLat> <Mobile_CC>sample string 36</Mobile_CC> <Mobile_Number>sample string 38</Mobile_Number> <Mobile_RG>sample string 37</Mobile_RG> <Name>sample string 14</Name> <NameLat>sample string 17</NameLat> <PassportDate 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> </PassportDate> <PassportDateEnd 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> </PassportDateEnd> <PassportNumber>sample string 28</PassportNumber> <PassportRusDate 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> </PassportRusDate> <PassportRusNumber>sample string 30</PassportRusNumber> <PassportRusSer>sample string 29</PassportRusSer> <PassportType>sample string 27</PassportType> <Phone>sample string 26</Phone> <PostBuilding>sample string 24</PostBuilding> <PostCity>sample string 22</PostCity> <PostFlat>sample string 25</PostFlat> <PostIndex>sample string 21</PostIndex> <PostStreet>sample string 23</PostStreet> <RealAddress>sample string 43</RealAddress> <UserID>35</UserID> <BirthAddress>sample string 13</BirthAddress> <BirthArea>sample string 7</BirthArea> <BirthCity>sample string 1</BirthCity> <BirthCountry>sample string 2</BirthCountry> <BirthDistrict>sample string 8</BirthDistrict> <ClientLeads> <ClientLeadData> <Created xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> <ClientLeadData> <Created xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> </ClientLeads> <Documents> <ClientDocumentData> <DateFrom xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateFrom> <DateTo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> <ClientDocumentData> <DateFrom xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateFrom> <DateTo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> </Documents> <Emails xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> </Emails> <Family>sample string 5</Family> <Fax>sample string 6</Fax> <FileList xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract"> <d4p1:FileDescription> <d4p1:Date>sample string 7</d4p1:Date> <d4p1:DocumentType>10</d4p1:DocumentType> <d4p1:DownloadDate>sample string 6</d4p1:DownloadDate> <d4p1:Id>1</d4p1:Id> <d4p1:IsAvailableForTourist>true</d4p1:IsAvailableForTourist> <d4p1:IsNeedSignedDocument>true</d4p1:IsNeedSignedDocument> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:ShowInAgreement>true</d4p1:ShowInAgreement> <d4p1:ShowInRequest>true</d4p1:ShowInRequest> <d4p1:Url>sample string 3</d4p1:Url> </d4p1:FileDescription> <d4p1:FileDescription> <d4p1:Date>sample string 7</d4p1:Date> <d4p1:DocumentType>10</d4p1:DocumentType> <d4p1:DownloadDate>sample string 6</d4p1:DownloadDate> <d4p1:Id>1</d4p1:Id> <d4p1:IsAvailableForTourist>true</d4p1:IsAvailableForTourist> <d4p1:IsNeedSignedDocument>true</d4p1:IsNeedSignedDocument> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:ShowInAgreement>true</d4p1:ShowInAgreement> <d4p1:ShowInRequest>true</d4p1:ShowInRequest> <d4p1:Url>sample string 3</d4p1:Url> </d4p1:FileDescription> </FileList> <IsSendEmail>true</IsSendEmail> <IsSendSMS>true</IsSendSMS> <ManagerId>1</ManagerId> <PassportByWhom>sample string 3</PassportByWhom> <PassportRusByWhom>sample string 4</PassportRusByWhom> <PhoneCallId>sample string 12</PhoneCallId> <Phones xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> </Phones> <PostArea>sample string 10</PostArea> <PostCountry>sample string 9</PostCountry> <PostDistrict>sample string 11</PostDistrict> </ClientData> <CountriesIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </CountriesIds> <Notes> <Note> <Created xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </Created> <CreatorId>1</CreatorId> <CreatorName>sample string 3</CreatorName> <Id>1</Id> <Text>sample string 1</Text> <TypeId>2</TypeId> </Note> <Note> <Created xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </Created> <CreatorId>1</CreatorId> <CreatorName>sample string 3</CreatorName> <Id>1</Id> <Text>sample string 1</Text> <TypeId>2</TypeId> </Note> </Notes> </requestData> </UpdateClientRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetClientResponseName | Description | Type | Additional information |
---|---|---|---|
Item | ClientData |
None. |
|
ClientAgreements | Collection of string |
None. |
|
CountriesIds | Collection of integer |
None. |
|
Notes | Collection of Note |
None. |
|
AdditionalValues | Collection of AdditionalValueInfo |
None. |
|
BonusProgramId | integer |
None. |
|
ValidationFieldMessages | Collection of ValidationFieldMessage |
None. |
|
LeadsCount | integer |
None. |
|
AgreementsCount | integer |
None. |
|
DuplicatedClients | Collection of ClientData |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Item": { "BirthCity": "sample string 1", "BirthCountry": "sample string 2", "PassportByWhom": "sample string 3", "PassportRusByWhom": "sample string 4", "Family": "sample string 5", "Fax": "sample string 6", "BirthArea": "sample string 7", "BirthDistrict": "sample string 8", "PostCountry": "sample string 9", "PostArea": "sample string 10", "PostDistrict": "sample string 11", "IsSendSMS": true, "IsSendEmail": true, "ManagerId": 1, "FileList": [ { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 }, { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 } ], "PhoneCallId": "sample string 12", "Phones": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Emails": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Documents": [ { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" }, { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" } ], "BirthAddress": "sample string 13", "ClientLeads": [ { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true }, { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true } ], "ID": 1, "Name": "sample string 14", "FirstName": "sample string 15", "MiddleName": "sample string 16", "NameLat": "sample string 17", "FirstNameLat": "sample string 18", "MiddleNameLat": "sample string 19", "Birthday": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Age": "sample string 20", "PostIndex": "sample string 21", "PostCity": "sample string 22", "PostStreet": "sample string 23", "PostBuilding": "sample string 24", "PostFlat": "sample string 25", "Phone": "sample string 26", "PassportType": "sample string 27", "PassportNumber": "sample string 28", "PassportDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportDateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportRusSer": "sample string 29", "PassportRusNumber": "sample string 30", "PassportRusDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Code": "sample string 31", "Comment": "sample string 32", "Email": "sample string 33", "Constant": true, "CreateDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "ChangeDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "UserID": 35, "Mobile_CC": "sample string 36", "Mobile_RG": "sample string 37", "Mobile_Number": "sample string 38", "Gender": "MAN", "GenderName": "Мужской", "Citizen": "sample string 39", "CitizenId": 1, "AgeCategory": "ADULT", "LeadsCount": 40, "AgreementsCount": 41, "Address": "sample string 42", "RealAddress": "sample string 43", "Manager": { "CanLogin": true, "Code": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "Email": "sample string 5", "FirstName": "sample string 6", "Id": 7, "IsNeedPassword": true, "IsNewLogin": true, "Login": "sample string 10", "MiddleName": "sample string 11", "Name": "sample string 12", "OldLogin": "sample string 13", "Password": "sample string 14" } }, "ClientAgreements": [ "sample string 1", "sample string 2" ], "CountriesIds": [ 1, 2 ], "Notes": [ { "Id": 1, "Text": "sample string 1", "TypeId": 2, "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CreatorId": 1, "CreatorName": "sample string 3" }, { "Id": 1, "Text": "sample string 1", "TypeId": 2, "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CreatorId": 1, "CreatorName": "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 } ], "BonusProgramId": 1, "ValidationFieldMessages": [ { "FrontName": "sample string 1", "Message": "sample string 2" }, { "FrontName": "sample string 1", "Message": "sample string 2" } ], "LeadsCount": 40, "AgreementsCount": 2, "DuplicatedClients": [ { "BirthCity": "sample string 1", "BirthCountry": "sample string 2", "PassportByWhom": "sample string 3", "PassportRusByWhom": "sample string 4", "Family": "sample string 5", "Fax": "sample string 6", "BirthArea": "sample string 7", "BirthDistrict": "sample string 8", "PostCountry": "sample string 9", "PostArea": "sample string 10", "PostDistrict": "sample string 11", "IsSendSMS": true, "IsSendEmail": true, "ManagerId": 1, "FileList": [ { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 }, { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 } ], "PhoneCallId": "sample string 12", "Phones": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Emails": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Documents": [ { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" }, { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" } ], "BirthAddress": "sample string 13", "ClientLeads": [ { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true }, { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true } ], "ID": 1, "Name": "sample string 14", "FirstName": "sample string 15", "MiddleName": "sample string 16", "NameLat": "sample string 17", "FirstNameLat": "sample string 18", "MiddleNameLat": "sample string 19", "Birthday": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Age": "sample string 20", "PostIndex": "sample string 21", "PostCity": "sample string 22", "PostStreet": "sample string 23", "PostBuilding": "sample string 24", "PostFlat": "sample string 25", "Phone": "sample string 26", "PassportType": "sample string 27", "PassportNumber": "sample string 28", "PassportDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportDateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportRusSer": "sample string 29", "PassportRusNumber": "sample string 30", "PassportRusDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Code": "sample string 31", "Comment": "sample string 32", "Email": "sample string 33", "Constant": true, "CreateDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "ChangeDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "UserID": 35, "Mobile_CC": "sample string 36", "Mobile_RG": "sample string 37", "Mobile_Number": "sample string 38", "Gender": "MAN", "GenderName": "Мужской", "Citizen": "sample string 39", "CitizenId": 1, "AgeCategory": "ADULT", "LeadsCount": 40, "AgreementsCount": 41, "Address": "sample string 42", "RealAddress": "sample string 43", "Manager": { "CanLogin": true, "Code": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "Email": "sample string 5", "FirstName": "sample string 6", "Id": 7, "IsNeedPassword": true, "IsNewLogin": true, "Login": "sample string 10", "MiddleName": "sample string 11", "Name": "sample string 12", "OldLogin": "sample string 13", "Password": "sample string 14" } }, { "BirthCity": "sample string 1", "BirthCountry": "sample string 2", "PassportByWhom": "sample string 3", "PassportRusByWhom": "sample string 4", "Family": "sample string 5", "Fax": "sample string 6", "BirthArea": "sample string 7", "BirthDistrict": "sample string 8", "PostCountry": "sample string 9", "PostArea": "sample string 10", "PostDistrict": "sample string 11", "IsSendSMS": true, "IsSendEmail": true, "ManagerId": 1, "FileList": [ { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 }, { "Id": 1, "Name": "sample string 2", "Extension": "", "Url": "sample string 3", "ShowInAgreement": true, "ShowInRequest": true, "DownloadDate": "sample string 6", "Date": "sample string 7", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "DocumentType": 10 } ], "PhoneCallId": "sample string 12", "Phones": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Emails": [ { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true }, { "Id": 1, "TagsContactID": 1, "Value": "sample string 2", "isDefault": true } ], "Documents": [ { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" }, { "Type": 1, "Serial": "sample string 2", "Number": "sample string 3", "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" }, "IssuedBy": "sample string 4" } ], "BirthAddress": "sample string 13", "ClientLeads": [ { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true }, { "IsMainClient": true, "LeadId": 2, "LeadName": "sample string 3", "LeadStatus": "sample string 4", "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsNew": true, "IsSuccess": true, "IsFailure": true } ], "ID": 1, "Name": "sample string 14", "FirstName": "sample string 15", "MiddleName": "sample string 16", "NameLat": "sample string 17", "FirstNameLat": "sample string 18", "MiddleNameLat": "sample string 19", "Birthday": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Age": "sample string 20", "PostIndex": "sample string 21", "PostCity": "sample string 22", "PostStreet": "sample string 23", "PostBuilding": "sample string 24", "PostFlat": "sample string 25", "Phone": "sample string 26", "PassportType": "sample string 27", "PassportNumber": "sample string 28", "PassportDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportDateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "PassportRusSer": "sample string 29", "PassportRusNumber": "sample string 30", "PassportRusDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Code": "sample string 31", "Comment": "sample string 32", "Email": "sample string 33", "Constant": true, "CreateDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "ChangeDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "UserID": 35, "Mobile_CC": "sample string 36", "Mobile_RG": "sample string 37", "Mobile_Number": "sample string 38", "Gender": "MAN", "GenderName": "Мужской", "Citizen": "sample string 39", "CitizenId": 1, "AgeCategory": "ADULT", "LeadsCount": 40, "AgreementsCount": 41, "Address": "sample string 42", "RealAddress": "sample string 43", "Manager": { "CanLogin": true, "Code": "sample string 2", "DepartmentId": 3, "DepartmentName": "sample string 4", "Email": "sample string 5", "FirstName": "sample string 6", "Id": 7, "IsNeedPassword": true, "IsNewLogin": true, "Login": "sample string 10", "MiddleName": "sample string 11", "Name": "sample string 12", "OldLogin": "sample string 13", "Password": "sample string 14" } } ], "RedirectUrl": "sample string 2", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T17:33:52.0218442+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
Sample:
<GetClientResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Client.Contract"> <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 2</RedirectUrl> <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:33:52.0218442+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <AdditionalValues> <AdditionalValueInfo> <AdditionalTypeId>5</AdditionalTypeId> <AdditionalValueTypeId>2</AdditionalValueTypeId> <Options> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> </Options> <Required>true</Required> <SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </SelectedOptions> <Title>sample string 1</Title> <Value>sample string 3</Value> </AdditionalValueInfo> <AdditionalValueInfo> <AdditionalTypeId>5</AdditionalTypeId> <AdditionalValueTypeId>2</AdditionalValueTypeId> <Options> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> <AdditionalValueOption> <Id>1</Id> <Value>sample string 2</Value> </AdditionalValueOption> </Options> <Required>true</Required> <SelectedOptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </SelectedOptions> <Title>sample string 1</Title> <Value>sample string 3</Value> </AdditionalValueInfo> </AdditionalValues> <BonusProgramId>1</BonusProgramId> <ClientAgreements xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ClientAgreements> <CountriesIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </CountriesIds> <DuplicatedClients> <ClientData> <Address>sample string 42</Address> <Age>sample string 20</Age> <AgeCategory>ADULT</AgeCategory> <AgreementsCount>41</AgreementsCount> <Birthday 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> </Birthday> <ChangeDate 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> </ChangeDate> <Citizen>sample string 39</Citizen> <CitizenId>1</CitizenId> <Code>sample string 31</Code> <Comment>sample string 32</Comment> <Constant>true</Constant> <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> <Email>sample string 33</Email> <FirstName>sample string 15</FirstName> <FirstNameLat>sample string 18</FirstNameLat> <Gender>MAN</Gender> <ID>1</ID> <LeadsCount>40</LeadsCount> <Manager xmlns:d4p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries"> <d4p1:CanLogin>true</d4p1:CanLogin> <d4p1:Code>sample string 2</d4p1:Code> <d4p1:DepartmentId>3</d4p1:DepartmentId> <d4p1:DepartmentName>sample string 4</d4p1:DepartmentName> <d4p1:Email>sample string 5</d4p1:Email> <d4p1:FirstName>sample string 6</d4p1:FirstName> <d4p1:Id>7</d4p1:Id> <d4p1:IsNeedPassword>true</d4p1:IsNeedPassword> <d4p1:IsNewLogin>true</d4p1:IsNewLogin> <d4p1:Login>sample string 10</d4p1:Login> <d4p1:MiddleName>sample string 11</d4p1:MiddleName> <d4p1:Name>sample string 12</d4p1:Name> <d4p1:OldLogin>sample string 13</d4p1:OldLogin> <d4p1:Password>sample string 14</d4p1:Password> </Manager> <MiddleName>sample string 16</MiddleName> <MiddleNameLat>sample string 19</MiddleNameLat> <Mobile_CC>sample string 36</Mobile_CC> <Mobile_Number>sample string 38</Mobile_Number> <Mobile_RG>sample string 37</Mobile_RG> <Name>sample string 14</Name> <NameLat>sample string 17</NameLat> <PassportDate 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> </PassportDate> <PassportDateEnd 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> </PassportDateEnd> <PassportNumber>sample string 28</PassportNumber> <PassportRusDate 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> </PassportRusDate> <PassportRusNumber>sample string 30</PassportRusNumber> <PassportRusSer>sample string 29</PassportRusSer> <PassportType>sample string 27</PassportType> <Phone>sample string 26</Phone> <PostBuilding>sample string 24</PostBuilding> <PostCity>sample string 22</PostCity> <PostFlat>sample string 25</PostFlat> <PostIndex>sample string 21</PostIndex> <PostStreet>sample string 23</PostStreet> <RealAddress>sample string 43</RealAddress> <UserID>35</UserID> <BirthAddress>sample string 13</BirthAddress> <BirthArea>sample string 7</BirthArea> <BirthCity>sample string 1</BirthCity> <BirthCountry>sample string 2</BirthCountry> <BirthDistrict>sample string 8</BirthDistrict> <ClientLeads> <ClientLeadData> <Created xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> <ClientLeadData> <Created xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> </ClientLeads> <Documents> <ClientDocumentData> <DateFrom xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateFrom> <DateTo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> <ClientDocumentData> <DateFrom xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateFrom> <DateTo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> </Documents> <Emails xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> </Emails> <Family>sample string 5</Family> <Fax>sample string 6</Fax> <FileList xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract"> <d4p1:FileDescription> <d4p1:Date>sample string 7</d4p1:Date> <d4p1:DocumentType>10</d4p1:DocumentType> <d4p1:DownloadDate>sample string 6</d4p1:DownloadDate> <d4p1:Id>1</d4p1:Id> <d4p1:IsAvailableForTourist>true</d4p1:IsAvailableForTourist> <d4p1:IsNeedSignedDocument>true</d4p1:IsNeedSignedDocument> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:ShowInAgreement>true</d4p1:ShowInAgreement> <d4p1:ShowInRequest>true</d4p1:ShowInRequest> <d4p1:Url>sample string 3</d4p1:Url> </d4p1:FileDescription> <d4p1:FileDescription> <d4p1:Date>sample string 7</d4p1:Date> <d4p1:DocumentType>10</d4p1:DocumentType> <d4p1:DownloadDate>sample string 6</d4p1:DownloadDate> <d4p1:Id>1</d4p1:Id> <d4p1:IsAvailableForTourist>true</d4p1:IsAvailableForTourist> <d4p1:IsNeedSignedDocument>true</d4p1:IsNeedSignedDocument> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:ShowInAgreement>true</d4p1:ShowInAgreement> <d4p1:ShowInRequest>true</d4p1:ShowInRequest> <d4p1:Url>sample string 3</d4p1:Url> </d4p1:FileDescription> </FileList> <IsSendEmail>true</IsSendEmail> <IsSendSMS>true</IsSendSMS> <ManagerId>1</ManagerId> <PassportByWhom>sample string 3</PassportByWhom> <PassportRusByWhom>sample string 4</PassportRusByWhom> <PhoneCallId>sample string 12</PhoneCallId> <Phones xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> </Phones> <PostArea>sample string 10</PostArea> <PostCountry>sample string 9</PostCountry> <PostDistrict>sample string 11</PostDistrict> </ClientData> <ClientData> <Address>sample string 42</Address> <Age>sample string 20</Age> <AgeCategory>ADULT</AgeCategory> <AgreementsCount>41</AgreementsCount> <Birthday 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> </Birthday> <ChangeDate 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> </ChangeDate> <Citizen>sample string 39</Citizen> <CitizenId>1</CitizenId> <Code>sample string 31</Code> <Comment>sample string 32</Comment> <Constant>true</Constant> <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> <Email>sample string 33</Email> <FirstName>sample string 15</FirstName> <FirstNameLat>sample string 18</FirstNameLat> <Gender>MAN</Gender> <ID>1</ID> <LeadsCount>40</LeadsCount> <Manager xmlns:d4p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries"> <d4p1:CanLogin>true</d4p1:CanLogin> <d4p1:Code>sample string 2</d4p1:Code> <d4p1:DepartmentId>3</d4p1:DepartmentId> <d4p1:DepartmentName>sample string 4</d4p1:DepartmentName> <d4p1:Email>sample string 5</d4p1:Email> <d4p1:FirstName>sample string 6</d4p1:FirstName> <d4p1:Id>7</d4p1:Id> <d4p1:IsNeedPassword>true</d4p1:IsNeedPassword> <d4p1:IsNewLogin>true</d4p1:IsNewLogin> <d4p1:Login>sample string 10</d4p1:Login> <d4p1:MiddleName>sample string 11</d4p1:MiddleName> <d4p1:Name>sample string 12</d4p1:Name> <d4p1:OldLogin>sample string 13</d4p1:OldLogin> <d4p1:Password>sample string 14</d4p1:Password> </Manager> <MiddleName>sample string 16</MiddleName> <MiddleNameLat>sample string 19</MiddleNameLat> <Mobile_CC>sample string 36</Mobile_CC> <Mobile_Number>sample string 38</Mobile_Number> <Mobile_RG>sample string 37</Mobile_RG> <Name>sample string 14</Name> <NameLat>sample string 17</NameLat> <PassportDate 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> </PassportDate> <PassportDateEnd 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> </PassportDateEnd> <PassportNumber>sample string 28</PassportNumber> <PassportRusDate 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> </PassportRusDate> <PassportRusNumber>sample string 30</PassportRusNumber> <PassportRusSer>sample string 29</PassportRusSer> <PassportType>sample string 27</PassportType> <Phone>sample string 26</Phone> <PostBuilding>sample string 24</PostBuilding> <PostCity>sample string 22</PostCity> <PostFlat>sample string 25</PostFlat> <PostIndex>sample string 21</PostIndex> <PostStreet>sample string 23</PostStreet> <RealAddress>sample string 43</RealAddress> <UserID>35</UserID> <BirthAddress>sample string 13</BirthAddress> <BirthArea>sample string 7</BirthArea> <BirthCity>sample string 1</BirthCity> <BirthCountry>sample string 2</BirthCountry> <BirthDistrict>sample string 8</BirthDistrict> <ClientLeads> <ClientLeadData> <Created xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> <ClientLeadData> <Created xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> </ClientLeads> <Documents> <ClientDocumentData> <DateFrom xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateFrom> <DateTo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> <ClientDocumentData> <DateFrom xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateFrom> <DateTo xmlns:d6p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d6p1:_format>sample string 4</d6p1:_format> <d6p1:_serialized>01.01.1970</d6p1:_serialized> <d6p1:_value>1970-01-01T03:00:00.003+03:00</d6p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> </Documents> <Emails xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> </Emails> <Family>sample string 5</Family> <Fax>sample string 6</Fax> <FileList xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract"> <d4p1:FileDescription> <d4p1:Date>sample string 7</d4p1:Date> <d4p1:DocumentType>10</d4p1:DocumentType> <d4p1:DownloadDate>sample string 6</d4p1:DownloadDate> <d4p1:Id>1</d4p1:Id> <d4p1:IsAvailableForTourist>true</d4p1:IsAvailableForTourist> <d4p1:IsNeedSignedDocument>true</d4p1:IsNeedSignedDocument> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:ShowInAgreement>true</d4p1:ShowInAgreement> <d4p1:ShowInRequest>true</d4p1:ShowInRequest> <d4p1:Url>sample string 3</d4p1:Url> </d4p1:FileDescription> <d4p1:FileDescription> <d4p1:Date>sample string 7</d4p1:Date> <d4p1:DocumentType>10</d4p1:DocumentType> <d4p1:DownloadDate>sample string 6</d4p1:DownloadDate> <d4p1:Id>1</d4p1:Id> <d4p1:IsAvailableForTourist>true</d4p1:IsAvailableForTourist> <d4p1:IsNeedSignedDocument>true</d4p1:IsNeedSignedDocument> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:ShowInAgreement>true</d4p1:ShowInAgreement> <d4p1:ShowInRequest>true</d4p1:ShowInRequest> <d4p1:Url>sample string 3</d4p1:Url> </d4p1:FileDescription> </FileList> <IsSendEmail>true</IsSendEmail> <IsSendSMS>true</IsSendSMS> <ManagerId>1</ManagerId> <PassportByWhom>sample string 3</PassportByWhom> <PassportRusByWhom>sample string 4</PassportRusByWhom> <PhoneCallId>sample string 12</PhoneCallId> <Phones xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> <d4p1:MasterAgentConverter.Tags> <d4p1:Id>1</d4p1:Id> <d4p1:TagsContactID>1</d4p1:TagsContactID> <d4p1:Value>sample string 2</d4p1:Value> <d4p1:isDefault>true</d4p1:isDefault> </d4p1:MasterAgentConverter.Tags> </Phones> <PostArea>sample string 10</PostArea> <PostCountry>sample string 9</PostCountry> <PostDistrict>sample string 11</PostDistrict> </ClientData> </DuplicatedClients> <Item> <Address>sample string 42</Address> <Age>sample string 20</Age> <AgeCategory>ADULT</AgeCategory> <AgreementsCount>41</AgreementsCount> <Birthday 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> </Birthday> <ChangeDate 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> </ChangeDate> <Citizen>sample string 39</Citizen> <CitizenId>1</CitizenId> <Code>sample string 31</Code> <Comment>sample string 32</Comment> <Constant>true</Constant> <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> <Email>sample string 33</Email> <FirstName>sample string 15</FirstName> <FirstNameLat>sample string 18</FirstNameLat> <Gender>MAN</Gender> <ID>1</ID> <LeadsCount>40</LeadsCount> <Manager xmlns:d3p1="http://schemas.datacontract.org/2004/07/Megatec.MasterAgent.Entities.Dictionaries"> <d3p1:CanLogin>true</d3p1:CanLogin> <d3p1:Code>sample string 2</d3p1:Code> <d3p1:DepartmentId>3</d3p1:DepartmentId> <d3p1:DepartmentName>sample string 4</d3p1:DepartmentName> <d3p1:Email>sample string 5</d3p1:Email> <d3p1:FirstName>sample string 6</d3p1:FirstName> <d3p1:Id>7</d3p1:Id> <d3p1:IsNeedPassword>true</d3p1:IsNeedPassword> <d3p1:IsNewLogin>true</d3p1:IsNewLogin> <d3p1:Login>sample string 10</d3p1:Login> <d3p1:MiddleName>sample string 11</d3p1:MiddleName> <d3p1:Name>sample string 12</d3p1:Name> <d3p1:OldLogin>sample string 13</d3p1:OldLogin> <d3p1:Password>sample string 14</d3p1:Password> </Manager> <MiddleName>sample string 16</MiddleName> <MiddleNameLat>sample string 19</MiddleNameLat> <Mobile_CC>sample string 36</Mobile_CC> <Mobile_Number>sample string 38</Mobile_Number> <Mobile_RG>sample string 37</Mobile_RG> <Name>sample string 14</Name> <NameLat>sample string 17</NameLat> <PassportDate 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> </PassportDate> <PassportDateEnd 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> </PassportDateEnd> <PassportNumber>sample string 28</PassportNumber> <PassportRusDate 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> </PassportRusDate> <PassportRusNumber>sample string 30</PassportRusNumber> <PassportRusSer>sample string 29</PassportRusSer> <PassportType>sample string 27</PassportType> <Phone>sample string 26</Phone> <PostBuilding>sample string 24</PostBuilding> <PostCity>sample string 22</PostCity> <PostFlat>sample string 25</PostFlat> <PostIndex>sample string 21</PostIndex> <PostStreet>sample string 23</PostStreet> <RealAddress>sample string 43</RealAddress> <UserID>35</UserID> <BirthAddress>sample string 13</BirthAddress> <BirthArea>sample string 7</BirthArea> <BirthCity>sample string 1</BirthCity> <BirthCountry>sample string 2</BirthCountry> <BirthDistrict>sample string 8</BirthDistrict> <ClientLeads> <ClientLeadData> <Created xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> <ClientLeadData> <Created xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </Created> <IsFailure>true</IsFailure> <IsMainClient>true</IsMainClient> <IsNew>true</IsNew> <IsSuccess>true</IsSuccess> <LeadId>2</LeadId> <LeadName>sample string 3</LeadName> <LeadStatus>sample string 4</LeadStatus> </ClientLeadData> </ClientLeads> <Documents> <ClientDocumentData> <DateFrom xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </DateFrom> <DateTo xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> <ClientDocumentData> <DateFrom xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </DateFrom> <DateTo xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <d5p1:_format>sample string 4</d5p1:_format> <d5p1:_serialized>01.01.1970</d5p1:_serialized> <d5p1:_value>1970-01-01T03:00:00.003+03:00</d5p1:_value> </DateTo> <IssuedBy>sample string 4</IssuedBy> <Number>sample string 3</Number> <Serial>sample string 2</Serial> <Type>1</Type> </ClientDocumentData> </Documents> <Emails xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d3p1:MasterAgentConverter.Tags> <d3p1:Id>1</d3p1:Id> <d3p1:TagsContactID>1</d3p1:TagsContactID> <d3p1:Value>sample string 2</d3p1:Value> <d3p1:isDefault>true</d3p1:isDefault> </d3p1:MasterAgentConverter.Tags> <d3p1:MasterAgentConverter.Tags> <d3p1:Id>1</d3p1:Id> <d3p1:TagsContactID>1</d3p1:TagsContactID> <d3p1:Value>sample string 2</d3p1:Value> <d3p1:isDefault>true</d3p1:isDefault> </d3p1:MasterAgentConverter.Tags> </Emails> <Family>sample string 5</Family> <Fax>sample string 6</Fax> <FileList xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.Contract"> <d3p1:FileDescription> <d3p1:Date>sample string 7</d3p1:Date> <d3p1:DocumentType>10</d3p1:DocumentType> <d3p1:DownloadDate>sample string 6</d3p1:DownloadDate> <d3p1:Id>1</d3p1:Id> <d3p1:IsAvailableForTourist>true</d3p1:IsAvailableForTourist> <d3p1:IsNeedSignedDocument>true</d3p1:IsNeedSignedDocument> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:ShowInAgreement>true</d3p1:ShowInAgreement> <d3p1:ShowInRequest>true</d3p1:ShowInRequest> <d3p1:Url>sample string 3</d3p1:Url> </d3p1:FileDescription> <d3p1:FileDescription> <d3p1:Date>sample string 7</d3p1:Date> <d3p1:DocumentType>10</d3p1:DocumentType> <d3p1:DownloadDate>sample string 6</d3p1:DownloadDate> <d3p1:Id>1</d3p1:Id> <d3p1:IsAvailableForTourist>true</d3p1:IsAvailableForTourist> <d3p1:IsNeedSignedDocument>true</d3p1:IsNeedSignedDocument> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:ShowInAgreement>true</d3p1:ShowInAgreement> <d3p1:ShowInRequest>true</d3p1:ShowInRequest> <d3p1:Url>sample string 3</d3p1:Url> </d3p1:FileDescription> </FileList> <IsSendEmail>true</IsSendEmail> <IsSendSMS>true</IsSendSMS> <ManagerId>1</ManagerId> <PassportByWhom>sample string 3</PassportByWhom> <PassportRusByWhom>sample string 4</PassportRusByWhom> <PhoneCallId>sample string 12</PhoneCallId> <Phones xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d3p1:MasterAgentConverter.Tags> <d3p1:Id>1</d3p1:Id> <d3p1:TagsContactID>1</d3p1:TagsContactID> <d3p1:Value>sample string 2</d3p1:Value> <d3p1:isDefault>true</d3p1:isDefault> </d3p1:MasterAgentConverter.Tags> <d3p1:MasterAgentConverter.Tags> <d3p1:Id>1</d3p1:Id> <d3p1:TagsContactID>1</d3p1:TagsContactID> <d3p1:Value>sample string 2</d3p1:Value> <d3p1:isDefault>true</d3p1:isDefault> </d3p1:MasterAgentConverter.Tags> </Phones> <PostArea>sample string 10</PostArea> <PostCountry>sample string 9</PostCountry> <PostDistrict>sample string 11</PostDistrict> </Item> <Notes> <Note> <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> </Created> <CreatorId>1</CreatorId> <CreatorName>sample string 3</CreatorName> <Id>1</Id> <Text>sample string 1</Text> <TypeId>2</TypeId> </Note> <Note> <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> </Created> <CreatorId>1</CreatorId> <CreatorName>sample string 3</CreatorName> <Id>1</Id> <Text>sample string 1</Text> <TypeId>2</TypeId> </Note> </Notes> <ValidationFieldMessages xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d2p1:ValidationFieldMessage> <d2p1:FrontName>sample string 1</d2p1:FrontName> <d2p1:Message>sample string 2</d2p1:Message> </d2p1:ValidationFieldMessage> <d2p1:ValidationFieldMessage> <d2p1:FrontName>sample string 1</d2p1:FrontName> <d2p1:Message>sample string 2</d2p1:Message> </d2p1:ValidationFieldMessage> </ValidationFieldMessages> </GetClientResponse>