GET api/RouteData/GetCustomerByName?cName={cName}&cBranchNo={cBranchNo}&cDriverId={cDriverId}&Code={Code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cName

string

Required

cBranchNo

integer

Required

cDriverId

integer

Required

Code

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Customer
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

NameLaw

string

None.

DeliveryAddress

string

None.

Bulstat

string

None.

ReturnedTotes

integer

None.

Sales

Collection of Sale

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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-06T06:35:16.6574823+02:00",
        "DocType": null,
        "PaymentType": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "PaymentSum": 6.0,
        "PaymentDate": "2025-12-06T06:35:16.6574823+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-06T06:35:16.6574823+02:00",
            "PaymentSum": 3.0,
            "IsReceiptPrinted": true
          },
          {
            "Id": 1,
            "PaymentType": {
              "Id": 1,
              "Name": "sample string 2"
            },
            "PaymentDate": "2025-12-06T06:35:16.6574823+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-06T06:35:16.6574823+02:00",
        "DocType": null,
        "PaymentType": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "PaymentSum": 6.0,
        "PaymentDate": "2025-12-06T06:35:16.6574823+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-06T06:35:16.6574823+02:00",
            "PaymentSum": 3.0,
            "IsReceiptPrinted": true
          },
          {
            "Id": 1,
            "PaymentType": {
              "Id": 1,
              "Name": "sample string 2"
            },
            "PaymentDate": "2025-12-06T06:35:16.6574823+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-06T06:35:16.6574823+02:00",
        "DocType": null,
        "PaymentType": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "PaymentSum": 6.0,
        "PaymentDate": "2025-12-06T06:35:16.6574823+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-06T06:35:16.6574823+02:00",
            "PaymentSum": 3.0,
            "IsReceiptPrinted": true
          },
          {
            "Id": 1,
            "PaymentType": {
              "Id": 1,
              "Name": "sample string 2"
            },
            "PaymentDate": "2025-12-06T06:35:16.6574823+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-06T06:35:16.6574823+02:00",
        "DocType": null,
        "PaymentType": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "PaymentSum": 6.0,
        "PaymentDate": "2025-12-06T06:35:16.6574823+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-06T06:35:16.6574823+02:00",
            "PaymentSum": 3.0,
            "IsReceiptPrinted": true
          },
          {
            "Id": 1,
            "PaymentType": {
              "Id": 1,
              "Name": "sample string 2"
            },
            "PaymentDate": "2025-12-06T06:35:16.6574823+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.