GET api/Customer/GetCustomers?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}&SharedDB={SharedDB}&TableName={TableName}
Get customer created or updated in between the given date range
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
LastExecutedDate | date |
None. |
|
CurrentDate | date |
None. |
|
TerminalId | globally unique identifier |
None. |
|
SharedDB | boolean |
None. |
|
TableName | TableName |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerName | Description | Type | Additional 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 |
|
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. |
|
GiftCard | GiftCard |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "Id": "bca355c8-218d-4190-99b8-32dbf752af57", "ParentId": "2e492971-2a09-45c9-b31b-3fd360c86455", "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": "2025-07-04T13:38:38.9700727+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": "2025-07-04T13:38:38.9700727+02:00", "Updated": "2025-07-04T13:38:38.9700727+02:00", "UpdatedBy": "6d69813c-59c9-456f-94c2-17b8a79d0ffc", "PriceListId": "ec440ddc-30cf-42f3-a432-a144a380b8d6", "Customer_CustomField": [ { "$id": "2", "Id": "fa2f66ef-20ce-4798-ac26-30984a350bcb", "FieldId": "1fcb195a-49a5-4aa8-ac81-9f853a44e285", "CustomerCustomField": { "$id": "3", "Id": "871dbdf7-0128-40e1-86ad-00dc89953727", "Caption": "sample string 2", "SortOrder": 3 }, "CustomerId": "81666048-0c01-4300-a444-b8812c15c431", "Customer": { "$ref": "1" }, "Caption": "sample string 4", "Text": "sample string 5", "SortOrder": 6, "Updated": "2025-07-04T13:38:38.9700727+02:00" }, { "$ref": "2" } ], "DiscountGroupId": "46bf59b3-fdce-4d50-b26b-e6c10ecb59f7", "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": "642b696a-c052-43f1-9be2-f970326bc1c1", "Title": "sample string 2", "Discount": 3.0, "Created": "2025-07-04T13:38:38.9700727+02:00", "Updated": "2025-07-04T13:38:38.9700727+02:00", "Description": "sample string 6" }, "Parent": { "$ref": "1" }, "ShowEdit": true, "GiftCard": { "$id": "5", "CardId": "6a9fe0d5-25c5-420c-8288-05e22f42de3b", "CardNumber": "sample string 2", "AddedAmount": 3.0, "Balance": 4.0, "CustomerId": "9bc3302d-9356-4050-b775-31d5a0a6a49f", "Title": "sample string 6", "ValidFrom": "2025-07-04T13:38:38.9700727+02:00", "ValidTo": "2025-07-04T13:38:38.9700727+02:00", "Active": true, "Updated": "2025-07-04T13:38:38.9700727+02:00", "CardType": 0, "UniqueCode": "sample string 11", "Synced": true, "Status": "Aktiva", "UsedAmount": -1.0, "CustomerDiscount": 13.0, "CustomerName": "sample string 14", "SeasonTicket": { "$id": "6", "Id": "d8698323-f6dc-41c3-94e2-4fc75238fd44", "CustomerId": "254fa86e-db4a-4fb0-92e4-bb3d2241b40e", "ExpiryDate": "2025-07-04T13:38:38.9700727+02:00", "Active": true, "Synced": true, "CustomerName": "sample string 6" }, "OrderId": "210e1f0e-47fb-458e-8589-8f5bf8241553", "NewAmount": 16.0, "VehicleId": 17 } }, { "$ref": "1" } ]