Delete Scheduler Item
const url = 'https://api.wink.travel/api/managing-entity/hotel-1/extranet/schedule/travel-blocking-1/item/schedule-item-1';const options = {method: 'DELETE', headers: {'Wink-Version': '2.0'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.wink.travel/api/managing-entity/hotel-1/extranet/schedule/travel-blocking-1/item/schedule-item-1 \ --header 'Wink-Version: 2.0'Delete a calendar item for any travel inventorysuch as meeting room, restaurant, spa, activity, attraction or place.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Remove a calendar item for travel inventoryowned by this property identifier
Example
hotel-1Remove a calendar item for travel inventorywith this identifier
Example
travel-blocking-1Remove a calendar item with this identifier
Example
schedule-item-1Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Start date time of scheduled event
Schedule timezone
End date time of scheduled event
Schedule timezone
Flag indicating whether this is an all day event.
Title of scheduled event.
Description of scheduled event.
If rule is present, indicates that scheduled event is a recurring event. For more details go to the iCalendar website
The parent ID of the recurring event.
Exceptions to the recurrence rule.
The unique identifier of the travel inventory you are creating a scheduled event for.
Booking identifier this scheduled event was created as part of.
Which company owns this schedule. (Owner of the customization)
Hotel identifier that owns the travel inventory.
The type of travel inventory.
Number of guests attending this event.
Email of the person scheduling this event.
Full name of person scheduling this event.
First name of person scheduling this event.
Last name of person scheduling this event.
Name of venue attendees will visit.
Localized name of venue attendees will visit.
Venue contact person
object
Contact first name
Contact last name
Contact E-mail
Contact secondary Email
Contact phone number
First and last name
Summary
Venue address
object
Address line 1
Address line 2
State
Postal / zip code
County
City name
Country
Country
Address 1, Address 2, City, State, Postal / Zip code, Country
Date time this schedule event was created.
Last date time this scheduled event was modified.
Schedule event recurring sequence
Brand name for email header
Venue owner logo
Cloudinary image identifier of logo
User’s desired language
Example
{ "id": "", "createdDate": "", "lastUpdate": "", "version": "", "start": "", "startTimezone": "", "end": "", "endTimezone": "", "isAllDay": false, "title": "", "description": "", "recurrenceRule": "", "recurrenceId": "", "recurrenceException": "", "ownerIdentifier": "", "bookingIdentifier": "", "bookingOwnerIdentifier": "", "hotelIdentifier": "", "type": "ROOM_TYPE_ANCILLARY", "attendees": 1, "email": "", "fullName": "", "firstName": "", "lastName": "", "venueName": "", "localizedVenueName": "", "contact": "", "address": "", "created": "", "lastModified": "", "sequence": 0, "brandName": "", "emailHeaderLogoUrl": "", "logoIdentifier": "", "language": ""}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}