GET api/orders/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
orderName | Description | Type | Additional information |
---|---|---|---|
orderId | integer |
None. |
|
groupId | integer |
None. |
|
userId | integer |
None. |
|
numOfPeople | integer |
None. |
|
paid | string |
None. |
|
credit | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "orderId": 1, "groupId": 1, "userId": 1, "numOfPeople": 1, "paid": "sample string 2", "credit": 1.0 }
application/xml, text/xml
Sample:
<order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mustCnoAuth"> <credit>1</credit> <groupId>1</groupId> <numOfPeople>1</numOfPeople> <orderId>1</orderId> <paid>sample string 2</paid> <userId>1</userId> </order>