POST api/public/SetNameTag

Request Information

URI Parameters

None.

Body Parameters

SetNameTagDTO
NameDescriptionTypeAdditional information
VisitorId

globally unique identifier

None.

Name

string

None.

Company

string

None.

NameTagId

integer

None.

AutomaticSelection

boolean

None.

LocationId

integer

None.

QRCodeURL

string

None.

HostName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VisitorId": "a3cd3797-a162-4dfb-9028-9034846b613f",
  "Name": "sample string 1",
  "Company": "sample string 2",
  "NameTagId": 1,
  "AutomaticSelection": true,
  "LocationId": 3,
  "QRCodeURL": "sample string 4",
  "HostName": "sample string 5"
}

application/xml, text/xml

Sample:
<SetNameTagDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.BreeceDisplay">
  <AutomaticSelection>true</AutomaticSelection>
  <Company>sample string 2</Company>
  <HostName>sample string 5</HostName>
  <LocationId>3</LocationId>
  <Name>sample string 1</Name>
  <NameTagId>1</NameTagId>
  <QRCodeURL>sample string 4</QRCodeURL>
  <VisitorId>a3cd3797-a162-4dfb-9028-9034846b613f</VisitorId>
</SetNameTagDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.