Timeslot: POST


Allows user to post time slots available for certain spot.

Request

To create a time slot, make a POST request to:

/api/lot/:lotID/spot/:spotID/timeslot/:id

Response

Upon making a POST request, you will receive a 200 status code and have made a new time slot. The object should look like:

body: {
  startTime: '2017-08-17T21:23:17.678Z',
  endTime: '2017-08-17T21:23:17.678Z',
  spotID: '59960950a780c20ae9b344db',
  _id: '59960950a780c20ae9b344dc'
}

results matching ""

    No results matching ""