POST api/my/basura/bookings/personnels/add/subpoint

Request Information

URI Parameters

None.

Body Parameters

BookingPersonnelAddSubpointDTO
NameDescriptionTypeAdditional information
subPointId

integer

None.

bookingId

integer

None.

address

string

None.

latitude

decimal number

None.

longitude

decimal number

None.

isCheckIn

boolean

None.

isCheckOut

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "subPointId": 1,
  "bookingId": 2,
  "address": "sample string 3",
  "latitude": 4.1,
  "longitude": 5.1,
  "isCheckIn": true,
  "isCheckOut": true
}

application/xml, text/xml

Sample:
<BookingPersonnelAddSubpointDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <address>sample string 3</address>
  <bookingId>2</bookingId>
  <isCheckIn>true</isCheckIn>
  <isCheckOut>true</isCheckOut>
  <latitude>4.1</latitude>
  <longitude>5.1</longitude>
  <subPointId>1</subPointId>
</BookingPersonnelAddSubpointDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.