PUT api/orders/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

order
NameDescriptionTypeAdditional information
orderId

integer

None.

groupId

integer

None.

userId

integer

None.

numOfPeople

integer

None.

paid

string

None.

credit

decimal number

None.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.