GET api/OrderApi/All/{name}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AddValues | Collection of Pair of string [key] and string [value] |
None. |
|
PartnerType | PartnerStatus |
None. |
|
AdSource |
источник рекламы |
Collection of integer |
None. |
AmountDays |
продолжительность |
integer |
None. |
City |
город поездки |
string |
None. |
ClientIds | Collection of integer |
None. |
|
ContragentID | integer |
None. |
|
ContragentType | integer |
None. |
|
CountriesIds | Collection of integer |
None. |
|
CurrencyIds | Collection of integer |
None. |
|
DateBeginFrom |
дата начала поездки, начало диапазона |
SerializedDateTime |
None. |
DateBeginTo |
дата начала поездки, конец диапазона |
SerializedDateTime |
None. |
DateClientPaymentsFrom |
дата платежей от клиента, начало диапазона |
SerializedDateTime |
None. |
DateClientPaymentsTo |
дата платежей от клиента, конец диапазона |
SerializedDateTime |
None. |
DateOperatorPaymentsFrom |
дата платежей оператору, начало диапазона |
SerializedDateTime |
None. |
DateOperatorPaymentsTo |
дата платежей оператору, конец диапазона |
SerializedDateTime |
None. |
DateCreateFrom |
дата создания путевки, начало диапазона |
SerializedDateTime |
None. |
DateCreateTo |
дата создания путевки, конец диапазона |
SerializedDateTime |
None. |
DateEndOfPaymentFrom |
крайняя дата оплаты по путевке начало |
SerializedDateTime |
None. |
DateEndOfPaymentTo |
крайняя дата оплаты по путевке конец |
SerializedDateTime |
None. |
DateFinishFrom |
Дата окончания путёвки старт |
SerializedDateTime |
None. |
DateFinishTo |
дата окончания путёвки финиш |
SerializedDateTime |
None. |
DateEndOfPrePaymentFrom |
Крайняя дата предоплаты, начало диапазона |
SerializedDateTime |
None. |
DateEndOfPrePaymentTo |
Крайняя дата предоплаты, конец диапазона |
SerializedDateTime |
None. |
Department | string |
None. |
|
DepartmentsIds | Collection of integer |
None. |
|
ExistMessage | boolean |
None. |
|
GetCreditAgreements |
Флаг отбора кредитных путевок |
boolean |
None. |
HoldedPayments |
холдовые платежи по путевке |
decimal number |
None. |
HotelIds |
Отели |
Collection of integer |
None. |
TourIds | Collection of integer |
None. |
|
IsStrongSearchByCode |
Строгое совпадение по номеру путевки. Используется в виджете ЛК туриста. |
boolean |
None. |
ManagerName | string |
None. |
|
ManagersIds | Collection of integer |
None. |
|
NoAnnuled |
флаг отбора "без анулированных" |
boolean |
None. |
OfficeTypeID | integer |
None. |
|
OfficeTypeName | string |
None. |
|
OperatorId |
страна поездки |
integer |
None. |
OperatorIds | Collection of integer |
None. |
|
OperatorName | string |
None. |
|
OrderCode |
код путевки, если надо найти конкретную |
string |
None. |
PartnerLegalId |
id ЮЛ покупателя ЮЛ |
integer |
None. |
PartnerLegalName |
имя ЮЛ покупателя ЮЛ |
string |
None. |
PassportNumber |
Номер паспорта |
string |
None. |
PassportSeria |
Серия паспорта |
string |
None. |
Payed | string |
None. |
|
PayedTO | string |
None. |
|
PayedReservationCenter |
Статусы оплаты в ЦБ |
Collection of string |
None. |
PreOrder |
флаг отбора предзаказов или путевок |
boolean |
None. |
PriceGrossFrom |
Минимальная сумма к оплате |
decimal number |
None. |
PriceGrossTo |
Максимальная сумма к оплате |
decimal number |
None. |
RequestSource | integer |
None. |
|
RequestType | integer |
None. |
|
ServiceClass | Collection of integer |
None. |
|
StatusesIds | Collection of integer |
None. |
|
SubAgentIds | Collection of integer |
None. |
|
SupplierBookingCode |
№заявки у оператора |
string |
None. |
SupplierCode |
Gate код ТО |
string |
None. |
AvailableForPayment | boolean |
None. |
|
DocumentsIssued | boolean |
None. |
|
TouristFirstName |
Имя туриста |
string |
None. |
TouristName | string |
None. |
|
TouristPatronymic |
Отчество туриста |
string |
None. |
IsBlacklistedCreate |
Партнёр в путевке находится в чёрном списке |
boolean |
None. |
CreatorsIds |
Идентификаторы создателей путевок |
Collection of integer |
None. |
WithReceipts | boolean |
None. |
|
OnlineCashId | integer |
None. |
|
OperationResultTypeId | integer |
None. |
|
EtvNumber | string |
None. |
|
EtvStatuses | Collection of integer |
None. |
|
CorrespondenceTypeIds | Collection of integer |
None. |
|
PerPage | integer |
None. |
|
CurrentPage | integer |
None. |
|
OrderBy | Collection of string |
None. |
|
OrderingFields | Collection of OrderingField |
None. |
|
name | string |
None. |
Body Parameters
None.
Response Information
Resource Description
GetAllOrdersResponseName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of OrderItemData |
None. |
|
Counts | TotalCounts |
None. |
|
CurrencyBallanceItems | Collection of OrdersBallanceByCurrency |
None. |
|
ReportsList | Collection of ReportsItem |
None. |
|
ExportReport | ReportsItem |
None. |
|
SearchInfo | SearchInfo |
None. |
|
CanViewHolds | boolean |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
{ "Counts": { "OrdersCount": 1, "TuristsCount": 2, "AdultsCount": 3, "ChildrenCount": 4 }, "ReportsList": [ { "Title": "sample string 1", "Name": "sample string 2", "Id": 3, "WebReportId": 4, "TemplateId": "2c8e46f6-4576-43c0-bf60-e6766404ac6d", "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": "2c8e46f6-4576-43c0-bf60-e6766404ac6d", "ReportFormat": "sample string 6", "NeedSelectedData": [ "sample string 1", "sample string 2" ], "NeedScreenFilter": true, "Url": "sample string 8", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "IsShowPrivateCabinet": true } ], "ExportReport": { "Title": "sample string 1", "Name": "sample string 2", "Id": 3, "WebReportId": 4, "TemplateId": "2c8e46f6-4576-43c0-bf60-e6766404ac6d", "ReportFormat": "sample string 6", "NeedSelectedData": [ "sample string 1", "sample string 2" ], "NeedScreenFilter": true, "Url": "sample string 8", "IsAvailableForTourist": true, "IsNeedSignedDocument": true, "IsShowPrivateCabinet": true }, "SearchInfo": { "ResultsCount": 1, "PageCount": 2 }, "CanViewHolds": true, "RedirectUrl": "sample string 2", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2025-02-05T09:48:07.0897245+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
<GetAllOrdersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Order.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>2025-02-05T09:48:07.0897245+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <Counts> <AdultsCount>3</AdultsCount> <ChildrenCount>4</ChildrenCount> <OrdersCount>1</OrdersCount> <TuristsCount>2</TuristsCount> </Counts> <CurrencyBallanceItems i:nil="true" /> <ExportReport xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Reports.Contract"> <d2p1:Id>3</d2p1:Id> <d2p1:IsAvailableForTourist>true</d2p1:IsAvailableForTourist> <d2p1:IsNeedSignedDocument>true</d2p1:IsNeedSignedDocument> <d2p1:IsShowPrivateCabinet>true</d2p1:IsShowPrivateCabinet> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:NeedScreenFilter>true</d2p1:NeedScreenFilter> <d2p1:NeedSelectedData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </d2p1:NeedSelectedData> <d2p1:ReportFormat>sample string 6</d2p1:ReportFormat> <d2p1:TemplateId>2c8e46f6-4576-43c0-bf60-e6766404ac6d</d2p1:TemplateId> <d2p1:Title>sample string 1</d2p1:Title> <d2p1:Url>sample string 8</d2p1:Url> <d2p1:WebReportId>4</d2p1:WebReportId> </ExportReport> <Items i:nil="true" /> <ReportsList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Reports.Contract"> <d2p1:ReportsItem> <d2p1:Id>3</d2p1:Id> <d2p1:IsAvailableForTourist>true</d2p1:IsAvailableForTourist> <d2p1:IsNeedSignedDocument>true</d2p1:IsNeedSignedDocument> <d2p1:IsShowPrivateCabinet>true</d2p1:IsShowPrivateCabinet> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:NeedScreenFilter>true</d2p1:NeedScreenFilter> <d2p1:NeedSelectedData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:NeedSelectedData> <d2p1:ReportFormat>sample string 6</d2p1:ReportFormat> <d2p1:TemplateId>2c8e46f6-4576-43c0-bf60-e6766404ac6d</d2p1:TemplateId> <d2p1:Title>sample string 1</d2p1:Title> <d2p1:Url>sample string 8</d2p1:Url> <d2p1:WebReportId>4</d2p1:WebReportId> </d2p1:ReportsItem> <d2p1:ReportsItem> <d2p1:Id>3</d2p1:Id> <d2p1:IsAvailableForTourist>true</d2p1:IsAvailableForTourist> <d2p1:IsNeedSignedDocument>true</d2p1:IsNeedSignedDocument> <d2p1:IsShowPrivateCabinet>true</d2p1:IsShowPrivateCabinet> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:NeedScreenFilter>true</d2p1:NeedScreenFilter> <d2p1:NeedSelectedData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:NeedSelectedData> <d2p1:ReportFormat>sample string 6</d2p1:ReportFormat> <d2p1:TemplateId>2c8e46f6-4576-43c0-bf60-e6766404ac6d</d2p1:TemplateId> <d2p1:Title>sample string 1</d2p1:Title> <d2p1:Url>sample string 8</d2p1:Url> <d2p1:WebReportId>4</d2p1:WebReportId> </d2p1:ReportsItem> </ReportsList> <SearchInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models"> <d2p1:PageCount>2</d2p1:PageCount> <d2p1:ResultsCount>1</d2p1:ResultsCount> </SearchInfo> </GetAllOrdersResponse>