POST api/status

Request Information

URI Parameters

None.

Body Parameters

StatusPayload
NameDescriptionTypeAdditional information
tableNumber

string

None.

status

string

None.

startedAtDateTime

string

None.

locationReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tableNumber": "sample string 1",
  "status": "sample string 2",
  "startedAtDateTime": "sample string 3",
  "locationReference": "sample string 4"
}

application/xml, text/xml

Sample:
<ValuesController.StatusPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <locationReference>sample string 4</locationReference>
  <startedAtDateTime>sample string 3</startedAtDateTime>
  <status>sample string 2</status>
  <tableNumber>sample string 1</tableNumber>
</ValuesController.StatusPayload>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StatusPayload'.

Response Information

Resource Description

HttpStatusCode

Response Formats

application/json, text/json

Sample:
100

application/xml, text/xml

Sample:
<HttpStatusCode xmlns="http://schemas.datacontract.org/2004/07/System.Net">Continue</HttpStatusCode>