Ghufran Zahidi d6bfecf2ef
[powershell] Updated the Api doc with httpsiging script snippet. (#7499)
* Added the httpsigning code snippet for api doc

* Updated the sample

* update samples

Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-25 16:54:14 +08:00

827 B

Order

Properties

Name Type Description Notes
Id Int64 [optional]
PetId Int64 [optional]
Quantity Int32 [optional]
ShipDate System.DateTime [optional]
Status String Order Status [optional]
Complete Boolean [optional] [default to $false]

Examples

  • Prepare the resource
$Order = Initialize-PSPetstoreOrder  -Id null `
 -PetId null `
 -Quantity null `
 -ShipDate null `
 -Status null `
 -Complete null
  • Convert the resource to JSON
$Order | ConvertTo-JSON

[Back to Model list] [Back to API list] [Back to README]