POST api/BreeceDisplay/Create

Request Information

URI Parameters

None.

Body Parameters

CreateBreeceDisplayDTO
NameDescriptionTypeAdditional information
LocationId

integer

None.

SerialNumber

string

None.

DisplayType

integer

None.

DisplayId

integer

None.

IsBreeceProvider

boolean

None.

DeviceType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "SerialNumber": "sample string 2",
  "DisplayType": 3,
  "DisplayId": 1,
  "IsBreeceProvider": true,
  "DeviceType": 1
}

application/xml, text/xml

Sample:
<CreateBreeceDisplayDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.BreeceDisplay">
  <DeviceType>1</DeviceType>
  <DisplayId>1</DisplayId>
  <DisplayType>3</DisplayType>
  <IsBreeceProvider>true</IsBreeceProvider>
  <LocationId>1</LocationId>
  <SerialNumber>sample string 2</SerialNumber>
</CreateBreeceDisplayDTO>

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 'CreateBreeceDisplayDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.