GET api/OrderApi?AgreementCode={AgreementCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AgreementCode | string |
None. |
Body Parameters
None.
Response Information
Resource Description
AgreementResponse2Name | Description | Type | Additional information |
---|---|---|---|
AgreementData | AgreementInfoData |
None. |
|
BonusProgramId | integer |
None. |
|
DebugCollector | DebugCollector |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "AgreementData": { "ID": 1, "AgreementCode": "sample string 2", "SupplierBookingCode": "sample string 3", "StatusID": 4, "ClientDebt": 5.1, "CurrencyIso": "sample string 6", "NationalCurrencyId": 7, "NationalCurrencyName": "sample string 8", "NationalCurrencyCode": "sample string 9", "AgencyCourse": 1.1, "BankCourse": 1.1, "OperatorCourse": 1.1, "IsAnyPartnersBlacklisted": true, "DataPrivateCabinet": { "Step": 1, "IsHasCabinet": true, "Key": "f910ddc7-191f-44aa-8448-c6c3b8809448", "IsArchive": true, "IsHideHistory": true, "DateVisited": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "SignedDocuments": [ { "Date": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Files": "sample string 1", "Type": 2 }, { "Date": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Files": "sample string 1", "Type": 2 } ], "SignedDocuments1": { "PartnerId": 1, "AgreementCode": "sample string 2", "ClientId": 3 }, "HistoryDocuments": [ { "DocId": 1, "IsReport": true }, { "DocId": 1, "IsReport": true } ] }, "StatusName": "sample string 10", "StatusColor": "sample string 11", "Price": 12.1, "ForPay": 13.1, "Discount": 14.1, "DiscountPercent": 15.1, "Commission": 16.1, "CommissionPercent": 17.1, "PayedNational": 18.1, "DebtNational": 19.1, "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" } ], "CountryID": 20, "CountryName": "sample string 21", "RegionID": 22, "RegionName": "sample string 23", "CityID": 24, "CityName": "sample string 25", "DepartureID": 26, "DepartureCity": "sample string 27", "OperatorID": 28, "OperatorLegalID": 29, "OperatorName": "sample string 30", "TourTypeID": 31, "TourTypeName": "sample string 32", "AdvertisementID": 33, "AdvertisementList": [ { "Id": 1, "Name": "sample string 2", "Color": "sample string 3", "ParentId": 1, "ParentName": "sample string 4", "MappingId": 1, "IsExternal": true, "CanMaped": true, "PartnerName": "sample string 7" }, { "Id": 1, "Name": "sample string 2", "Color": "sample string 3", "ParentId": 1, "ParentName": "sample string 4", "MappingId": 1, "IsExternal": true, "CanMaped": true, "PartnerName": "sample string 7" } ], "PaymentSettingsListId": 1, "PaymentSettingsList": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "ClientPartnerID": 34, "ClientPartnerLegalID": 35, "OwnerID": 36, "OwnerLegalID": 37, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Adults": 38, "Children": 39, "CurrencyName": "sample string 40", "CurrencyID": 41, "ClientPartnerName": "sample string 42", "ClientPartnerLegalName": "sample string 43", "Buyer": "sample string 44", "Course": 45.1, "Comment": "sample string 46", "IsPreAgreement": true, "IsOperatorRequest": true, "TouristRequestNumber": "sample string 49", "IsNational": true, "BonusesFromAgreement": "sample string 51", "RecommendationFromCC": "sample string 52", "RecommendationFromRG": "sample string 53", "RecommendationFromNumber": "sample string 54", "Debited": "sample string 55", "BonusLimit": 56.1, "ClientBonuses": 57.1, "IsLocked": true, "IsPreOrder": true, "RequestList": [ { "ID": 1, "AgreementCode": "sample string 2", "CurrencyID": 3, "CurrencyName": "sample string 4", "CurrencyIso": "sample string 5", "PartnerID": 6, "PartnerName": "sample string 7", "PartnerGateCode": "sample string 8", "PartnerLegalID": 9, "StatusID": 10, "StatusName": "sample string 11", "PartnerLegalName": "sample string 12", "Price": 13.1, "PriceNetto": 14.1, "RequestOperatorCode": "sample string 15", "Course": 16.1, "Discount": 17.1, "IsPercent": true, "Commission": 19.1, "CommissionAgreementCurrency": 20.1, "IsPercentCommission": true, "Reward": 22.1, "RewardAgreementCurrency": 23.1, "IsPercentReward": true, "ForPay": 25.1, "CurrencyNameAgreement": "sample string 26", "CurrencyIDAgreement": 27, "PriceAgreementCurrency": 28.1, "PriceNettoAgreementCurrency": 29.1, "DiscountAgreementCurrency": 30.1, "IsPercentAgreementCurrency": true, "ForPayAgreementCurrency": 32.1, "ServiceList": [ { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true }, { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true } ], "IsLocked": true, "SPONumber": "sample string 34", "FixClientPrice": true, "FixNetCost": true, "SubAgentPrice": 37.1, "SubAgentCommission": 38.1, "IsPercentSubAgentCommission": true, "UseSubAgentCommission": true, "SubAgentCommissionSum": 41.1, "NonCommissionPrice": 42.1, "NonCommissionVisaPrice": 43.1, "NonCommissionInsurancePrice": 44.1, "NonCommissionFuelPrice": 45.1, "NonCommissionOtherPrice": 46.1 }, { "ID": 1, "AgreementCode": "sample string 2", "CurrencyID": 3, "CurrencyName": "sample string 4", "CurrencyIso": "sample string 5", "PartnerID": 6, "PartnerName": "sample string 7", "PartnerGateCode": "sample string 8", "PartnerLegalID": 9, "StatusID": 10, "StatusName": "sample string 11", "PartnerLegalName": "sample string 12", "Price": 13.1, "PriceNetto": 14.1, "RequestOperatorCode": "sample string 15", "Course": 16.1, "Discount": 17.1, "IsPercent": true, "Commission": 19.1, "CommissionAgreementCurrency": 20.1, "IsPercentCommission": true, "Reward": 22.1, "RewardAgreementCurrency": 23.1, "IsPercentReward": true, "ForPay": 25.1, "CurrencyNameAgreement": "sample string 26", "CurrencyIDAgreement": 27, "PriceAgreementCurrency": 28.1, "PriceNettoAgreementCurrency": 29.1, "DiscountAgreementCurrency": 30.1, "IsPercentAgreementCurrency": true, "ForPayAgreementCurrency": 32.1, "ServiceList": [ { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true }, { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true } ], "IsLocked": true, "SPONumber": "sample string 34", "FixClientPrice": true, "FixNetCost": true, "SubAgentPrice": 37.1, "SubAgentCommission": 38.1, "IsPercentSubAgentCommission": true, "UseSubAgentCommission": true, "SubAgentCommissionSum": 41.1, "NonCommissionPrice": 42.1, "NonCommissionVisaPrice": 43.1, "NonCommissionInsurancePrice": 44.1, "NonCommissionFuelPrice": 45.1, "NonCommissionOtherPrice": 46.1 } ], "RequestsServicesList": [ { "ServiceList": [ { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true }, { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true } ] }, { "ServiceList": [ { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true }, { "RequestID": 1, "AgreementCode": "sample string 2", "ID": 3, "Name": "sample string 4", "ClassName": "sample string 5", "ServiceClassID": 6, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateEnd": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "Mens": 8, "CountryName": "sample string 9", "CountryID": 10, "CityName": "sample string 11", "CityID": 12, "SubServiceName": "sample string 13", "SubServiceID": 14, "SubService1Name": "sample string 15", "SubService1ID": 16, "SubService2Name": "sample string 17", "SubService2ID": 18, "Day": 19, "StatusID": 20, "StatusName": "sample string 21", "SupplierDescription": "sample string 22", "Brutto": 23.1, "Netto": 24.1, "IncludeInCost": true, "IsCommissionService": true } ] } ], "Services": [ { "ServiceType": 0, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Quantity": 1, "Content": "sample string 2", "MensCount": 3, "MAServiceClassID": 4, "StartDay": 5, "SupplierDescription": "sample string 6" }, { "ServiceType": 0, "DateBegin": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Quantity": 1, "Content": "sample string 2", "MensCount": 3, "MAServiceClassID": 4, "StartDay": 5, "SupplierDescription": "sample string 6" } ], "ClientList": [ 1, 2 ], "ClientFlagsList": [ { "ClientID": 1, "IsMain": true, "IsTourist": true, "IsBuyer": true, "DocumentType": 1 }, { "ClientID": 1, "IsMain": true, "IsTourist": true, "IsBuyer": true, "DocumentType": 1 } ], "TouristList": [ { "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" } } ], "ClientServicesList": [ { "ClientID": 1, "ClientServiceList": [ 1, 2 ] }, { "ClientID": 1, "ClientServiceList": [ 1, 2 ] } ], "AgreementCorrespondence": [ { "Text": "sample string 1", "SenderName": "sample string 2", "SenderId": 1, "ToMessageId": 1, "Direction": "ToAgent", "DateTime": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Id": 3, "IsRead": true, "ClientId": 1, "PartnerId": 1, "CorrespondenceTypeId": 1, "ForLead": true, "MessageType": 6 }, { "Text": "sample string 1", "SenderName": "sample string 2", "SenderId": 1, "ToMessageId": 1, "Direction": "ToAgent", "DateTime": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Id": 3, "IsRead": true, "ClientId": 1, "PartnerId": 1, "CorrespondenceTypeId": 1, "ForLead": true, "MessageType": 6 } ], "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 } ], "ServicesExtension": [ { "Type": 0, "Description": "sample string 1", "Required": true, "IncludedInTourCost": true, "Cost": { "CurrencyCode": "sample string 1", "Brutto": 1.0, "Netto": 1.0, "Commission": 1.0 }, "Variants": [ { "Id": "9061a3fc-7cfd-43f5-8e65-4521fc7427da", "Name": "sample string 2", "Description": "sample string 3", "Cost": { "CurrencyCode": "sample string 1", "Brutto": 1.0, "Netto": 1.0, "Commission": 1.0 }, "Selected": true, "IncludedInTourCost": true, "RelatedServiceId": "ad064215-9e97-4392-8c8e-11e6f01740bf", "RelatedServiceVariants": [ 1, 2 ], "BeginDate": "2024-11-23T16:51:20.0335735+03:00" }, { "Id": "9061a3fc-7cfd-43f5-8e65-4521fc7427da", "Name": "sample string 2", "Description": "sample string 3", "Cost": { "CurrencyCode": "sample string 1", "Brutto": 1.0, "Netto": 1.0, "Commission": 1.0 }, "Selected": true, "IncludedInTourCost": true, "RelatedServiceId": "ad064215-9e97-4392-8c8e-11e6f01740bf", "RelatedServiceVariants": [ 1, 2 ], "BeginDate": "2024-11-23T16:51:20.0335735+03:00" } ] }, { "Type": 0, "Description": "sample string 1", "Required": true, "IncludedInTourCost": true, "Cost": { "CurrencyCode": "sample string 1", "Brutto": 1.0, "Netto": 1.0, "Commission": 1.0 }, "Variants": [ { "Id": "9061a3fc-7cfd-43f5-8e65-4521fc7427da", "Name": "sample string 2", "Description": "sample string 3", "Cost": { "CurrencyCode": "sample string 1", "Brutto": 1.0, "Netto": 1.0, "Commission": 1.0 }, "Selected": true, "IncludedInTourCost": true, "RelatedServiceId": "ad064215-9e97-4392-8c8e-11e6f01740bf", "RelatedServiceVariants": [ 1, 2 ], "BeginDate": "2024-11-23T16:51:20.0335735+03:00" }, { "Id": "9061a3fc-7cfd-43f5-8e65-4521fc7427da", "Name": "sample string 2", "Description": "sample string 3", "Cost": { "CurrencyCode": "sample string 1", "Brutto": 1.0, "Netto": 1.0, "Commission": 1.0 }, "Selected": true, "IncludedInTourCost": true, "RelatedServiceId": "ad064215-9e97-4392-8c8e-11e6f01740bf", "RelatedServiceVariants": [ 1, 2 ], "BeginDate": "2024-11-23T16:51:20.0335735+03:00" } ] } ], "ManagerID": 60, "SubagentManagerId": 1, "SubagentDepartmentId": 1, "ReservationCenterDepartmentId": 61, "ReservationCenterManagerId": 62, "ReservationManagerName": "sample string 63", "DepartmentId": 64, "ShowAllPaySystems": true, "ManagerData": "sample string 66", "DepartmentRegionId": 67, "CurrentManagerId": 68, "CurrentManagerDepartmentId": 69, "CurrentManagerRegionId": 1, "History": [ { "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Action": "sample string 1", "Description": "sample string 2", "UserName": "sample string 3" }, { "Created": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Action": "sample string 1", "Description": "sample string 2", "UserName": "sample string 3" } ], "Reports": [ { "Title": "sample string 1", "Name": "sample string 2", "Id": 3, "WebReportId": 4, "TemplateId": "6f432f2a-ae94-493c-a3e7-4c59ee7677a7", "ReportFormat": "sample string 6", "NeedSelectedData": [ "sample string 1", "sample string 2" ], "NeedScreenFilter": true, "Url": "sample string 8", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "IsShowPrivateCabinet": true }, { "Title": "sample string 1", "Name": "sample string 2", "Id": 3, "WebReportId": 4, "TemplateId": "6f432f2a-ae94-493c-a3e7-4c59ee7677a7", "ReportFormat": "sample string 6", "NeedSelectedData": [ "sample string 1", "sample string 2" ], "NeedScreenFilter": true, "Url": "sample string 8", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "IsShowPrivateCabinet": true } ], "AdditionalValues": [ { "Title": "sample string 1", "Type": "sample string 2", "RowTypeID": 3, "Options": [ "sample string 1", "sample string 2" ], "OptionsIds": [ "sample string 1", "sample string 2" ], "Value": "sample string 4", "FieldName": "sample string 5", "IsConstraint": true, "ValueId": 1, "ValuesDictionary": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }, { "Title": "sample string 1", "Type": "sample string 2", "RowTypeID": 3, "Options": [ "sample string 1", "sample string 2" ], "OptionsIds": [ "sample string 1", "sample string 2" ], "Value": "sample string 4", "FieldName": "sample string 5", "IsConstraint": true, "ValueId": 1, "ValuesDictionary": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } } ], "ReservationURL": "sample string 70", "MT_DG_Code": "sample string 71", "AdditionalServiceInfo": "sample string 72", "SourceTypeName": "sample string 73", "SubAgentPartnerId": 1, "SubAgentPartnerName": "sample string 74", "SubAgentPartnerLegalId": 1, "SubAgentPartnerLegalName": "sample string 75", "ForReservationCenter": true, "IsReservationCenter": true, "IsSubAgent": true, "AllowViewClientPrices": true, "AllowViewOperatorPrices": true, "AllowViewReservationCenterPrices": true, "AllowViewSubagentPrices": true, "AllowOperatorAgreements": true, "ActivityType": 84, "ReservationCenterPartnerLegalId": 1, "SubAgentNetto": 85.1, "SubAgentCommission": 86.1, "SubAgentCommissionPercent": 87.1, "DiscountCardId": 1, "ChangeOrderClientIfPayExist": 0, "HasPayments": true, "PayerId": 1, "PayerLegalId": 1, "DepartureCountryID": 89, "OwnerLegalName": "sample string 90", "ReservationCenterPartnerLegalName": "sample string 91", "ClientPayed": 92.1, "FirstPaymentDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "LastPaymentDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateCreate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "SubAgentPhone": "sample string 93", "SubAgentEmail": "sample string 94", "IsSubAgentToOperatorAgreement": true, "DatePrePayment": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsCreditAgreement": true, "IsAcceptanceAllowedForSubAgent": true, "CreditProfilesList": [ { "Id": 1, "SupplierCode": "sample string 2", "Status": "sample string 3", "Type": 4, "Sum": 5.0, "FirstPayment": 6, "Period": 7, "ClientID": 8, "ClientName": "sample string 9", "Passport": "sample string 10", "Phone": "sample string 11", "CreateDateString": "sample string 12", "AccountType": 13 }, { "Id": 1, "SupplierCode": "sample string 2", "Status": "sample string 3", "Type": 4, "Sum": 5.0, "FirstPayment": 6, "Period": 7, "ClientID": 8, "ClientName": "sample string 9", "Passport": "sample string 10", "Phone": "sample string 11", "CreateDateString": "sample string 12", "AccountType": 13 } ], "PaymentNumber": "sample string 97", "PrePaymentValue": 1.1, "PrePaymentIsPercent": true, "PrePaymentSum": 1.1, "PayedTo": "sample string 98", "DatePay": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DateDoc": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "DocumentFlag": true, "AvailableForPayment": true, "LeadId": 1, "LeadName": "sample string 101", "LeadCreateDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "LeadAdvertisementSourceId": 102, "LeadAdvertisementSourceName": "sample string 103", "LeadStatusId": 104, "LeadStatusName": "sample string 105", "LeadSource": 1, "EtvNumber": "sample string 106", "EtvStatus": 107, "EtvLastSync": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "TourTariffs": [ { "TariffName": "sample string 1", "TariffsCount": 2, "AdultsCount": 3, "ChildCount": 4, "PeopleCount": 5 }, { "TariffName": "sample string 1", "TariffsCount": 2, "AdultsCount": 3, "ChildCount": 4, "PeopleCount": 5 } ] }, "BonusProgramId": 1, "DebugCollector": { "DebugInfo": [ "sample string 1", "sample string 2" ] }, "RedirectUrl": "sample string 2", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T16:51:20.0490532+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml
Sample:
text/xml
Sample: