HTTP PUT com.mycompany.myapp.Order|123/placeOrder

Request body

using parameter names:

{
    "confirmationDetails": {
       "value": ...
    },
    "param2": ...,
    "param3": ...
}

or using parameter numbers:

{
    "1": {
       "value": ...
    },
    "2": ...,
    "3": ...
}

Notes:

  • not all parameter arguments need be provided, in which case only those arguments that are present will be validated
if the value is valid

returns: 200

if the value is invalid
  • some sort of 4xx error
  • Response 'Warning' header: error message
  • additionally, updated representation that has a message against the invalid value
if object cannot be found

returns: 404

if the object has changed

returns: 409 "conflict"
header: Last-Modified-At

  • No labels