GET api/Customer/GetCustomers?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}&SharedDB={SharedDB}

Get customer created or updated in between the given date range

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LastExecutedDate

date

None.

CurrentDate

date

None.

TerminalId

globally unique identifier

None.

SharedDB

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Customer
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ParentId

globally unique identifier

None.

Name

string

Max length: 100

OrgNo

string

Max length: 50

Address1

string

None.

Address2

string

None.

FloorNo

integer

None.

PortCode

string

Max length: 10

CustomerNo

string

Max length: 500

City

string

Max length: 50

Phone

string

Max length: 20

Email

string

Max length: 250

ZipCode

string

Max length: 10

Reference

string

Max length: 250

DirectPrint

boolean

None.

VehicleId

integer

None.

CommunicationTypeId

integer

None.

Active

boolean

None.

Synced

boolean

None.

EnableRUT

boolean

None.

RUTDisallowedUntil

date

None.

CustomerType

CustomerType

None.

PrimaryName

string

Max length: 100

PrimaryPhone

string

Max length: 20

PrimaryEmail

string

Max length: 250

SendReceipt

boolean

None.

InstructionAlert

boolean

None.

Instructions

string

Max length: 500

PaymentMethod

PaymentMethod

None.

DeliveryMethod

DeliveryMethod

None.

Created

date

None.

Updated

date

None.

UpdatedBy

globally unique identifier

None.

PriceListId

globally unique identifier

None.

Customer_CustomField

Collection of Customer_CustomField

None.

DiscountGroupId

globally unique identifier

None.

OrgNumber

string

None.

CustomerName

string

None.

Address

string

None.

PrimaryContacts

Collection of Customer

None.

ContactReference

string

None.

DiscountGroup

DiscountGroup

None.

Parent

Customer

None.

ShowEdit

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "480f97c6-79f3-4eaf-8171-20f4051652f6",
    "ParentId": "f994e475-254d-4889-8fc1-cbc936d2f0ad",
    "Name": "sample string 2",
    "OrgNo": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "FloorNo": 6,
    "PortCode": "sample string 7",
    "CustomerNo": "sample string 8",
    "City": "sample string 9",
    "Phone": "sample string 10",
    "Email": "sample string 11",
    "ZipCode": "sample string 12",
    "Reference": "sample string 13",
    "DirectPrint": true,
    "VehicleId": 15,
    "CommunicationTypeId": 16,
    "Active": true,
    "Synced": true,
    "EnableRUT": true,
    "RUTDisallowedUntil": "2024-05-16T09:41:59.2660603+02:00",
    "CustomerType": 0,
    "PrimaryName": "sample string 20",
    "PrimaryPhone": "sample string 21",
    "PrimaryEmail": "sample string 22",
    "SendReceipt": true,
    "InstructionAlert": true,
    "Instructions": "sample string 25",
    "PaymentMethod": 0,
    "DeliveryMethod": 0,
    "Created": "2024-05-16T09:41:59.2660603+02:00",
    "Updated": "2024-05-16T09:41:59.2660603+02:00",
    "UpdatedBy": "d60627af-7d78-48e9-a65a-93964730bd2f",
    "PriceListId": "48a209ea-5636-48f1-b062-74ddc315f04d",
    "Customer_CustomField": [
      {
        "$id": "2",
        "Id": "8026961f-b645-45e1-b5ba-21a6bfb9f99b",
        "FieldId": "f00ddfb3-94e4-4719-bb86-564331713cb3",
        "CustomerCustomField": {
          "$id": "3",
          "Id": "6267f143-3357-437a-8551-af2f1f928d13",
          "Caption": "sample string 2",
          "SortOrder": 3
        },
        "CustomerId": "7e6f6ab6-5773-4c71-9bb0-4fbd2203aca2",
        "Customer": {
          "$ref": "1"
        },
        "Caption": "sample string 4",
        "Text": "sample string 5",
        "SortOrder": 6,
        "Updated": "2024-05-16T09:41:59.2660603+02:00"
      },
      {
        "$ref": "2"
      }
    ],
    "DiscountGroupId": "d131bf48-f7cf-4e08-9daf-2411af1007fc",
    "OrgNumber": "sample string 3",
    "CustomerName": "sample string 2",
    "Address": "sample string 4, sample string 12, sample string 9",
    "PrimaryContacts": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "ContactReference": "sample string 30",
    "DiscountGroup": {
      "$id": "4",
      "DiscountId": "a48801d2-d1ea-4df9-b1b7-9bed2c171a44",
      "Title": "sample string 2",
      "Discount": 3.0,
      "Created": "2024-05-16T09:41:59.2660603+02:00",
      "Updated": "2024-05-16T09:41:59.2660603+02:00",
      "Description": "sample string 6"
    },
    "Parent": {
      "$ref": "1"
    },
    "ShowEdit": true
  },
  {
    "$ref": "1"
  }
]