POST api/floorplan/employees/place

Request Information

URI Parameters

None.

Body Parameters

PlaceEmployee
NameDescriptionTypeAdditional information
usr_id

integer

None.

floor_id

integer

None.

x

integer

None.

y

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "usr_id": 1,
  "floor_id": 2,
  "x": 3,
  "y": 4
}

application/xml, text/xml

Sample:
<PlaceEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <floor_id>2</floor_id>
  <usr_id>1</usr_id>
  <x>3</x>
  <y>4</y>
</PlaceEmployee>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.