GET api/RouteData/GetTourList?tourId={tourId}&Code={Code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tourId

integer

Required

Code

string

Required

Body Parameters

None.

Response Information

Resource Description

TourList
NameDescriptionTypeAdditional information
Id

integer

None.

BranchNo

integer

None.

Code

integer

None.

Name

string

None.

Date

integer

None.

Time

integer

None.

Number

integer

None.

DriverId

integer

None.

DriverName

string

None.

AmountInCash

decimal number

None.

AmountDelayed

decimal number

None.

Error

string

None.

Customers

Collection of Customer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BranchNo": 2,
  "Code": 3,
  "Name": "sample string 4",
  "Date": 5,
  "Time": 6,
  "Number": 7,
  "DriverId": 8,
  "DriverName": "sample string 9",
  "AmountInCash": 10.0,
  "AmountDelayed": 11.0,
  "Error": "sample string 12",
  "Customers": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "NameLaw": "sample string 3",
      "DeliveryAddress": "sample string 4",
      "Bulstat": "sample string 5",
      "ReturnedTotes": 6,
      "Sales": [
        {
          "Id": 1,
          "TypeId": 2,
          "Type": "sample string 3",
          "DocNo": 4,
          "DocDate": "2025-12-06T02:55:16.0342999+02:00",
          "DocType": null,
          "PaymentType": {
            "Id": 1,
            "Name": "sample string 2"
          },
          "PaymentSum": 6.0,
          "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
          "TourNumber": 8,
          "NumberOfTotes": 9,
          "NumberOfPacks": 10,
          "NumberOfBags": 11,
          "HasNarcotics": true,
          "CustomerPayments": [
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            },
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            }
          ],
          "SaleItems": [
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            },
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            }
          ],
          "TotalDiscounts": 1.0,
          "TotalDiscountsVAT": 1.0,
          "VatItems": [
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            },
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            }
          ],
          "TaxGroup": "sample string 13"
        },
        {
          "Id": 1,
          "TypeId": 2,
          "Type": "sample string 3",
          "DocNo": 4,
          "DocDate": "2025-12-06T02:55:16.0342999+02:00",
          "DocType": null,
          "PaymentType": {
            "Id": 1,
            "Name": "sample string 2"
          },
          "PaymentSum": 6.0,
          "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
          "TourNumber": 8,
          "NumberOfTotes": 9,
          "NumberOfPacks": 10,
          "NumberOfBags": 11,
          "HasNarcotics": true,
          "CustomerPayments": [
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            },
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            }
          ],
          "SaleItems": [
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            },
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            }
          ],
          "TotalDiscounts": 1.0,
          "TotalDiscountsVAT": 1.0,
          "VatItems": [
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            },
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            }
          ],
          "TaxGroup": "sample string 13"
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "NameLaw": "sample string 3",
      "DeliveryAddress": "sample string 4",
      "Bulstat": "sample string 5",
      "ReturnedTotes": 6,
      "Sales": [
        {
          "Id": 1,
          "TypeId": 2,
          "Type": "sample string 3",
          "DocNo": 4,
          "DocDate": "2025-12-06T02:55:16.0342999+02:00",
          "DocType": null,
          "PaymentType": {
            "Id": 1,
            "Name": "sample string 2"
          },
          "PaymentSum": 6.0,
          "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
          "TourNumber": 8,
          "NumberOfTotes": 9,
          "NumberOfPacks": 10,
          "NumberOfBags": 11,
          "HasNarcotics": true,
          "CustomerPayments": [
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            },
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            }
          ],
          "SaleItems": [
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            },
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            }
          ],
          "TotalDiscounts": 1.0,
          "TotalDiscountsVAT": 1.0,
          "VatItems": [
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            },
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            }
          ],
          "TaxGroup": "sample string 13"
        },
        {
          "Id": 1,
          "TypeId": 2,
          "Type": "sample string 3",
          "DocNo": 4,
          "DocDate": "2025-12-06T02:55:16.0342999+02:00",
          "DocType": null,
          "PaymentType": {
            "Id": 1,
            "Name": "sample string 2"
          },
          "PaymentSum": 6.0,
          "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
          "TourNumber": 8,
          "NumberOfTotes": 9,
          "NumberOfPacks": 10,
          "NumberOfBags": 11,
          "HasNarcotics": true,
          "CustomerPayments": [
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            },
            {
              "Id": 1,
              "PaymentType": {
                "Id": 1,
                "Name": "sample string 2"
              },
              "PaymentDate": "2025-12-06T02:55:16.0342999+02:00",
              "PaymentSum": 3.0,
              "IsReceiptPrinted": true
            }
          ],
          "SaleItems": [
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            },
            {
              "ArticlePZN": 1,
              "ArticleLongName": "sample string 2",
              "DelQty": 3,
              "BonusQty": 1,
              "InvoicedPriceExclVAT": 4.0,
              "Measure": "sample string 5"
            }
          ],
          "TotalDiscounts": 1.0,
          "TotalDiscountsVAT": 1.0,
          "VatItems": [
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            },
            {
              "NetAmountNoVAT": 1.0,
              "VATAmount": 2.0,
              "PaymentSum": 3.0,
              "VATPercent": 4.0,
              "TaxGroup": "sample string 5"
            }
          ],
          "TaxGroup": "sample string 13"
        }
      ]
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.