Skip to content

Commit 2c40871

Browse files
authored
Merge pull request #17 from EdgeOrder/ChangesForOdataFilter
changes to enable forward and reverse shipping details in get order i…
2 parents 7ef5d8d + 700829e commit 2c40871

File tree

1 file changed

+51
-3
lines changed
  • specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview

1 file changed

+51
-3
lines changed

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/preview/2020-12-01-preview/edgeorder.json

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
{
140140
"name": "$expand",
141141
"in": "query",
142-
"description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product.",
142+
"description": "$expand is supported on device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Device Details for order item provides details on the devices of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.",
143143
"required": false,
144144
"type": "string"
145145
},
@@ -1951,6 +1951,28 @@
19511951
}
19521952
}
19531953
},
1954+
"ForwardShippingDetails": {
1955+
"description": "Forward shipment details.",
1956+
"type": "object",
1957+
"properties": {
1958+
"carrierName": {
1959+
"description": "Name of the carrier.",
1960+
"type": "string"
1961+
},
1962+
"carrierDisplayName": {
1963+
"description": "Carrier Name for display purpose. Not to be used for any processing.",
1964+
"type": "string"
1965+
},
1966+
"trackingId": {
1967+
"description": "TrackingId of the package",
1968+
"type": "string"
1969+
},
1970+
"trackingUrl": {
1971+
"description": "TrackingUrl of the package.",
1972+
"type": "string"
1973+
}
1974+
}
1975+
},
19541976
"HierarchyInformation": {
19551977
"description": "Holds details about product hierarchy information",
19561978
"type": "object",
@@ -2298,12 +2320,12 @@
22982320
"description": "Customer notification Preferences"
22992321
},
23002322
"forwardShippingDetails": {
2301-
"$ref": "#/definitions/ShippingDetails",
2323+
"$ref": "#/definitions/ForwardShippingDetails",
23022324
"description": "Forward Package Shipping details",
23032325
"readOnly": true
23042326
},
23052327
"reverseShippingDetails": {
2306-
"$ref": "#/definitions/ShippingDetails",
2328+
"$ref": "#/definitions/ReverseShippingDetails",
23072329
"description": "Reverse Package Shipping details",
23082330
"readOnly": true
23092331
},
@@ -2981,6 +3003,32 @@
29813003
}
29823004
}
29833005
},
3006+
"ReverseShippingDetails": {
3007+
"description": "Reverse shipment details.",
3008+
"type": "object",
3009+
"properties": {
3010+
"sasKeyForLabel": {
3011+
"description": "SAS key to download the reverse shipment label of the package.",
3012+
"type": "string"
3013+
},
3014+
"carrierName": {
3015+
"description": "Name of the carrier.",
3016+
"type": "string"
3017+
},
3018+
"carrierDisplayName": {
3019+
"description": "Carrier Name for display purpose. Not to be used for any processing.",
3020+
"type": "string"
3021+
},
3022+
"trackingId": {
3023+
"description": "TrackingId of the package",
3024+
"type": "string"
3025+
},
3026+
"trackingUrl": {
3027+
"description": "TrackingUrl of the package.",
3028+
"type": "string"
3029+
}
3030+
}
3031+
},
29843032
"ShippingAddress": {
29853033
"description": "Shipping address where customer wishes to receive the device.",
29863034
"required": [

0 commit comments

Comments
 (0)