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": "fff3f63c-a655-4fcd-9c1c-cc7eb331fcf7",
"CustomerId": "89cd7b6b-5237-42ec-b4c4-bb1fc2c2008e",
"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": "ea5cf8ad-2130-4954-a6f8-6d50605b0518",
"Access": {
"Id": "f8570de2-3469-4cab-ae50-34d6b5bb3608",
"ProviderId": "afaedbb5-43e6-4449-b798-a0b3b20600e3",
"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": "f5cd4e4a-dd35-46f0-9c1c-2a42ca8a4725",
"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": "1ff295ce-3d29-4180-8457-4bb8c1829441",
"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": "fff3f63c-a655-4fcd-9c1c-cc7eb331fcf7",
"CustomerId": "89cd7b6b-5237-42ec-b4c4-bb1fc2c2008e",
"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": "ea5cf8ad-2130-4954-a6f8-6d50605b0518",
"Access": {
"Id": "f8570de2-3469-4cab-ae50-34d6b5bb3608",
"ProviderId": "afaedbb5-43e6-4449-b798-a0b3b20600e3",
"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": "f5cd4e4a-dd35-46f0-9c1c-2a42ca8a4725",
"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": "1ff295ce-3d29-4180-8457-4bb8c1829441",
"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
}
}
]