GET api/customers/{ssn}/orders
Retrieve all the customer's orders
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ssn |
Social security number |
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": "3c23cb3d-54e7-433c-8488-9a6834cc6c5e",
"CustomerId": "585ae40e-87c5-4277-a79f-d8775b84caab",
"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": "b4e78d61-24c3-48c3-8fa4-52c9bb9c7cc2",
"Access": {
"Id": "df7cf02a-34be-4897-8c53-1d57109737c4",
"ProviderId": "e5f78733-4f02-4b04-80fd-12f8ea10f16f",
"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": "bbb531f1-b1a7-4e60-a6e4-ffef6e87407a",
"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": "39b46034-0bec-45bf-9d55-efb97fa4f00d",
"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": "3c23cb3d-54e7-433c-8488-9a6834cc6c5e",
"CustomerId": "585ae40e-87c5-4277-a79f-d8775b84caab",
"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": "b4e78d61-24c3-48c3-8fa4-52c9bb9c7cc2",
"Access": {
"Id": "df7cf02a-34be-4897-8c53-1d57109737c4",
"ProviderId": "e5f78733-4f02-4b04-80fd-12f8ea10f16f",
"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": "bbb531f1-b1a7-4e60-a6e4-ffef6e87407a",
"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": "39b46034-0bec-45bf-9d55-efb97fa4f00d",
"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
}
}
]