eQuipAPI

<back to all web services

DeleteReservationSchedule

Delete Reservation Schedule(s)

The following routes are available for this service:
POST/AssetReservations/RemoveScheduleDelete Reservation Schedule(s)
DeleteReservationSchedule Parameters:
NameParameterData TypeRequiredDescription
UserIDpathstringYesUser Internal ID of User
ReservationIDpathstringYesReservation ID of Reservation
ReservationScheduleIDspathstringYesReservation Schedule ID list
ResponseForReservationSchedule Parameters:
NameParameterData TypeRequiredDescription
ResponseReservationSchedulebodyList<ReservationSchedule>No
ReservationSchedule Parameters:
NameParameterData TypeRequiredDescription
UuidbodyGuidNo
ReservationIDbodyGuidNo
StartDatebodyDateTime?No
EndDatebodyDateTime?No
StartTimebodystringNo
EndTimebodystringNo
CreatedBybodystringNo
CreatedDatebodyDateTime?No
ModifiedBybodystringNo
ModifiedDatebodyDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/DeleteReservationSchedule HTTP/1.1 
Host: equipstage2.e-isg.com 
Content-Type: application/xml
Content-Length: length

<DeleteReservationSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
  <ReservationID>String</ReservationID>
  <ReservationScheduleIDs>String</ReservationScheduleIDs>
  <UserID>String</UserID>
</DeleteReservationSchedule>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseForReservationSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
  <ResponseReservationSchedule xmlns:d2p1="http://schemas.datacontract.org/2004/07/eQuip.Domain.Reservation">
    <d2p1:ReservationSchedule>
      <d2p1:CreatedBy>String</d2p1:CreatedBy>
      <d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
      <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
      <d2p1:EndTime>String</d2p1:EndTime>
      <d2p1:ModifiedBy>String</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>0001-01-01T00:00:00</d2p1:ModifiedDate>
      <d2p1:ReservationID>00000000-0000-0000-0000-000000000000</d2p1:ReservationID>
      <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
      <d2p1:StartTime>String</d2p1:StartTime>
      <d2p1:Uuid>00000000-0000-0000-0000-000000000000</d2p1:Uuid>
    </d2p1:ReservationSchedule>
  </ResponseReservationSchedule>
</ResponseForReservationSchedule>