GET api/v2/customers/ordersbycustomerid/{id}
Retrieve all the customer's orders
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
F8 applications customer id |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Order| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| Status | integer |
None. |
|
| ClientOrderNumber | string |
None. |
|
| InternalOrderNumber | string |
None. |
|
| Origin | string |
None. |
|
| Performer | string |
None. |
|
| StartDate | string |
None. |
|
| StopDate | string |
None. |
|
| StatusName | string |
None. |
|
| ProviderName | string |
None. |
|
| ProviderId | globally unique identifier |
None. |
|
| Access | Access |
None. |
|
| Product | Product |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "81c70bc4-1edd-4f5a-9e3c-a3800c901c82",
"CustomerId": "05044ffa-be17-473a-846d-a6fe73fa2b0a",
"Status": 3,
"ClientOrderNumber": "sample string 4",
"InternalOrderNumber": "sample string 5",
"Origin": "sample string 6",
"Performer": "sample string 7",
"StartDate": "sample string 8",
"StopDate": "sample string 9",
"StatusName": "Okänd kategori. Enum: 3",
"ProviderName": "sample string 10",
"ProviderId": "b9f3f20e-4e7b-4162-a8d6-136370699db1",
"Access": {
"Id": "c26ef3bd-5c2a-4d8e-8e0b-38d746a6514c",
"ProviderId": "61e155fc-0c20-42cb-87a5-36b103a2a6c4",
"Distinguisher": "sample string 3",
"StreetName": "sample string 4",
"StreetNumber": "sample string 5",
"ApartmentNumber": "sample string 6",
"Outlet": "sample string 7",
"StreetLittera": "sample string 8",
"City": "sample string 9",
"Zipcode": "sample string 10",
"CountryCode": "sample string 11"
},
"Product": {
"Id": "374e7713-d3d3-4c4b-9f7f-b0ac189717db",
"ClientProductName": "sample string 2",
"ClientCampaignCode": "sample string 3",
"PublicName": "sample string 4",
"PublicDescription": "sample string 5",
"BindingPeriod": "sample string 6",
"Notice": "sample string 7",
"ShowCommunicationOperatorFee": true,
"RegularPrice": 9.0,
"RetailPrice": 10.0,
"RetailStartPrice": 11.0,
"CampaignId": "b26e55e0-f1ae-48a2-b94b-a21415c4bc6a",
"CampaignPrice": 12.0,
"CampaignPeriod": 13,
"IsMarketingCampaign": true,
"CommunicationOperatorFee": 15.0,
"CommunicationOperatorFeeStartPrice": 16.0,
"ProviderName": "sample string 17",
"ServiceType": 18,
"VAT": 19,
"ImageType": "sample string 20",
"RetailPriceDisplay": "10,00 kr",
"RetailStartPriceDisplay": "11,00 kr",
"CommunicationOperatorFeeDisplay": "15,00 kr",
"CommunicationOperatorFeeStartPriceDisplay": "16,00 kr",
"ServiceTypeDisplayName": "Okänd kategori. Enum: 18",
"ProductPriceCampaigns": [
{
"Key": "sample string 1",
"Name": "sample string 2"
},
{
"Key": "sample string 1",
"Name": "sample string 2"
}
],
"ProductPriceCampaignFallbackId": "sample string 21",
"SortIndex": 22,
"IsCompany": true,
"IsDisabled": true,
"Up": 25,
"Down": 26,
"ServiceTargetGroupEnumId": 27
}
},
{
"Id": "81c70bc4-1edd-4f5a-9e3c-a3800c901c82",
"CustomerId": "05044ffa-be17-473a-846d-a6fe73fa2b0a",
"Status": 3,
"ClientOrderNumber": "sample string 4",
"InternalOrderNumber": "sample string 5",
"Origin": "sample string 6",
"Performer": "sample string 7",
"StartDate": "sample string 8",
"StopDate": "sample string 9",
"StatusName": "Okänd kategori. Enum: 3",
"ProviderName": "sample string 10",
"ProviderId": "b9f3f20e-4e7b-4162-a8d6-136370699db1",
"Access": {
"Id": "c26ef3bd-5c2a-4d8e-8e0b-38d746a6514c",
"ProviderId": "61e155fc-0c20-42cb-87a5-36b103a2a6c4",
"Distinguisher": "sample string 3",
"StreetName": "sample string 4",
"StreetNumber": "sample string 5",
"ApartmentNumber": "sample string 6",
"Outlet": "sample string 7",
"StreetLittera": "sample string 8",
"City": "sample string 9",
"Zipcode": "sample string 10",
"CountryCode": "sample string 11"
},
"Product": {
"Id": "374e7713-d3d3-4c4b-9f7f-b0ac189717db",
"ClientProductName": "sample string 2",
"ClientCampaignCode": "sample string 3",
"PublicName": "sample string 4",
"PublicDescription": "sample string 5",
"BindingPeriod": "sample string 6",
"Notice": "sample string 7",
"ShowCommunicationOperatorFee": true,
"RegularPrice": 9.0,
"RetailPrice": 10.0,
"RetailStartPrice": 11.0,
"CampaignId": "b26e55e0-f1ae-48a2-b94b-a21415c4bc6a",
"CampaignPrice": 12.0,
"CampaignPeriod": 13,
"IsMarketingCampaign": true,
"CommunicationOperatorFee": 15.0,
"CommunicationOperatorFeeStartPrice": 16.0,
"ProviderName": "sample string 17",
"ServiceType": 18,
"VAT": 19,
"ImageType": "sample string 20",
"RetailPriceDisplay": "10,00 kr",
"RetailStartPriceDisplay": "11,00 kr",
"CommunicationOperatorFeeDisplay": "15,00 kr",
"CommunicationOperatorFeeStartPriceDisplay": "16,00 kr",
"ServiceTypeDisplayName": "Okänd kategori. Enum: 18",
"ProductPriceCampaigns": [
{
"Key": "sample string 1",
"Name": "sample string 2"
},
{
"Key": "sample string 1",
"Name": "sample string 2"
}
],
"ProductPriceCampaignFallbackId": "sample string 21",
"SortIndex": 22,
"IsCompany": true,
"IsDisabled": true,
"Up": 25,
"Down": 26,
"ServiceTargetGroupEnumId": 27
}
}
]