GET api/Customer/GetAllCustomers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Customer| Name | 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": "40a42aeb-80c0-4646-9147-c31180a7932a",
"ParentId": "260a4cef-9a7c-4e72-b593-60e4cb6db95a",
"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": "2026-11-04T13:37:23.3500569+01: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": "2026-11-04T13:37:23.3500569+01:00",
"Updated": "2026-11-04T13:37:23.3500569+01:00",
"UpdatedBy": "2ba4f5bf-ec08-4114-aa07-8a8b33f995d8",
"PriceListId": "cb9158e9-5e2f-4f33-9aaf-fbe7dad9f527",
"Customer_CustomField": [
{
"$id": "2",
"Id": "a8e68b01-eca4-4061-b3b5-b7eeb8285f4d",
"FieldId": "d5cb480c-09bf-4159-8c05-b8458438d47f",
"CustomerCustomField": {
"$id": "3",
"Id": "55852a7b-3b0d-435e-bc20-86cda8a32905",
"Caption": "sample string 2",
"SortOrder": 3
},
"CustomerId": "5f29e150-a3d0-4fda-8a42-a2d7ec677fd5",
"Customer": {
"$ref": "1"
},
"Caption": "sample string 4",
"Text": "sample string 5",
"SortOrder": 6,
"Updated": "2026-11-04T13:37:23.3500569+01:00"
},
{
"$ref": "2"
}
],
"DiscountGroupId": "4f2e56e4-8def-4c51-ab43-71904fded52c",
"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": "b080ace7-7ae0-4edf-a162-bec95c4af037",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-11-04T13:37:23.3500569+01:00",
"Updated": "2026-11-04T13:37:23.3500569+01:00",
"Description": "sample string 6"
},
"Parent": {
"$ref": "1"
},
"ShowEdit": true,
"GiftCard": {
"$id": "5",
"CardId": "ed9a1f21-a38b-4e24-afb5-2930465d8802",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "9d777282-cf84-4cf0-b517-4259be4f68e1",
"Title": "sample string 6",
"ValidFrom": "2026-11-04T13:37:23.3500569+01:00",
"ValidTo": "2026-11-04T13:37:23.3500569+01:00",
"Active": true,
"Updated": "2026-11-04T13:37:23.3500569+01: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": "f1bad399-035f-4f1f-b766-5757406eae8a",
"CustomerId": "1bf929d3-ac41-4891-ad22-d40b30c49af0",
"ExpiryDate": "2026-11-04T13:37:23.3500569+01:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "dd2b5714-ff80-46cb-adb0-5c98568bda2e",
"NewAmount": 16.0,
"VehicleId": 17,
"OutletName": "sample string 18"
}
},
{
"$ref": "1"
}
]