GET api/OrderApi/GetOne
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AddValues | Collection of Pair of string [key] and string [value] |
None. |
|
PartnerType |
None. |
Body Parameters
None.
Response Information
Resource Description
GetOneOrderResponseName | Description | Type | Additional information |
---|---|---|---|
Item | OrderOneItemData |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Item": { "Id": 1, "Code": "sample string 2", "City": "sample string 3", "Country": "sample string 4", "DebtToAgent": 5.0, "ClientPrice": 6.0, "CheckInDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "CheckOutDate": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "Days": 7, "StatusName": "sample string 8", "AvailableForPayment": true, "IsDocumentsIssued": true, "DocumentsDeadline": { "Serialized": "01.01.1970", "HasValue": true, "Milliseconds": 3, "Format": "sample string 4" }, "IsPreOrder": true }, "RedirectUrl": "sample string 1", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T17:25:31.4680908+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
Sample:
<GetOneOrderResponse 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 1</RedirectUrl> <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract"> <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:25:31.4680908+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <Item> <CheckInDate 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> </CheckInDate> <CheckOutDate 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> </CheckOutDate> <City>sample string 3</City> <ClientPrice>6</ClientPrice> <Code>sample string 2</Code> <Country>sample string 4</Country> <Days>7</Days> <DebtToAgent>5</DebtToAgent> <Id>1</Id> <StatusName>sample string 8</StatusName> </Item> </GetOneOrderResponse>