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": "8d486635-02b3-4f77-89fc-fb80c2325387",
"ParentId": "a5fb5be3-c252-4706-bafd-74f94d8e9db0",
"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-05-06T16:21:46.1359455+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": "2026-05-06T16:21:46.1359455+02:00",
"Updated": "2026-05-06T16:21:46.1359455+02:00",
"UpdatedBy": "53b2368a-d8dd-4a0a-a921-fa101125de51",
"PriceListId": "7fe1a7de-71e5-4f62-997e-a2cecd0b9162",
"Customer_CustomField": [
{
"$id": "2",
"Id": "ff9d95a6-62e3-47de-b720-e892785e4589",
"FieldId": "a87fcb3c-c83a-447d-b838-5533151776fe",
"CustomerCustomField": {
"$id": "3",
"Id": "4c317e9f-3693-4265-871d-f3a900af7a10",
"Caption": "sample string 2",
"SortOrder": 3
},
"CustomerId": "19d79a42-dd73-4755-aad3-89720e983716",
"Customer": {
"$ref": "1"
},
"Caption": "sample string 4",
"Text": "sample string 5",
"SortOrder": 6,
"Updated": "2026-05-06T16:21:46.1359455+02:00"
},
{
"$ref": "2"
}
],
"DiscountGroupId": "c45e15b7-9da9-49ef-91ae-81c4336abdcd",
"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": "7289c010-f830-400d-94d5-e5f50eff0436",
"Title": "sample string 2",
"Discount": 3.0,
"Created": "2026-05-06T16:21:46.1359455+02:00",
"Updated": "2026-05-06T16:21:46.1359455+02:00",
"Description": "sample string 6"
},
"Parent": {
"$ref": "1"
},
"ShowEdit": true,
"GiftCard": {
"$id": "5",
"CardId": "457c624a-06be-497b-8f81-47ff646994b5",
"CardNumber": "sample string 2",
"AddedAmount": 3.0,
"Balance": 4.0,
"CustomerId": "d830bf4c-ac12-40f6-8d31-b95824578dc3",
"Title": "sample string 6",
"ValidFrom": "2026-05-06T16:21:46.1359455+02:00",
"ValidTo": "2026-05-06T16:21:46.1359455+02:00",
"Active": true,
"Updated": "2026-05-06T16:21:46.1359455+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": "db3aca0a-d09c-49b0-bbb9-4c313338d7cd",
"CustomerId": "f28d0705-78ec-47ff-be85-a2fee1160a70",
"ExpiryDate": "2026-05-06T16:21:46.1359455+02:00",
"Active": true,
"Synced": true,
"CustomerName": "sample string 6"
},
"OrderId": "adb62931-e96e-403d-b04e-5fe69dfa45a3",
"NewAmount": 16.0,
"VehicleId": 17
}
},
{
"$ref": "1"
}
]