GET api/Customer/GetAllCustomers
Request Information
URI Parameters
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. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "Id": "4bbabf69-8a86-4671-9a01-661149396a89", "ParentId": "af9b3ee1-540d-4f15-9d10-dea4ce1171a5", "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:18:43.6791124+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:18:43.6791124+02:00", "Updated": "2024-05-16T09:18:43.6791124+02:00", "UpdatedBy": "9be331b0-7c60-43e0-b0ab-a2e2dcdbb6fd", "PriceListId": "46ea4801-a9da-49b8-854c-652b0386e3a0", "Customer_CustomField": [ { "$id": "2", "Id": "3ee429d6-1607-47da-99b4-90082eb62059", "FieldId": "6e1e5ef3-153e-455a-9e5a-7b1e29808db6", "CustomerCustomField": { "$id": "3", "Id": "cc6d855d-e0e4-41d2-bae0-3b08a1f9c849", "Caption": "sample string 2", "SortOrder": 3 }, "CustomerId": "b4a929d6-b0b8-49c4-b38b-0bf8719d84bc", "Customer": { "$ref": "1" }, "Caption": "sample string 4", "Text": "sample string 5", "SortOrder": 6, "Updated": "2024-05-16T09:18:43.6791124+02:00" }, { "$ref": "2" } ], "DiscountGroupId": "5eab4ce8-ed1a-49ac-b99d-2d129309d832", "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": "73087f04-09c0-4acd-a6b9-69a1b8faa3f8", "Title": "sample string 2", "Discount": 3.0, "Created": "2024-05-16T09:18:43.6791124+02:00", "Updated": "2024-05-16T09:18:43.6791124+02:00", "Description": "sample string 6" }, "Parent": { "$ref": "1" }, "ShowEdit": true }, { "$ref": "1" } ]