GET orders/orders/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

OrderGET
NameDescriptionTypeAdditional information
id

integer

None.

totalCost

decimal number

None.

status

Status

None.

modified

date

None.

user

User

None.

invoices

Collection of InvoiceGET

None.

orderDetails

Collection of BasicOrderDetail

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'myREST.Models.Orders.InvoicePayment'. Path 'invoices[0].invoicePayments[0].payment.invoicePayments'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'myREST.Models.Orders.InvoicePayment'. Path 'invoices[0].invoicePayments[0].payment.invoicePayments'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'myREST.Models.Orders.PaymentsGET' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'myREST.Models.Orders.PaymentsGET' contains cycles and cannot be serialized if reference tracking is disabled.