<< Click to Display Table of Contents >> Navigation: API requests > Delete hour bookings |
API request
Name: DeleteBooking
API request structure
<?xml version="1.0" encoding="UTF-8"?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <S:Body> <ns2:DeleteBooking xmlns:ns2="api.timewriter.nl"> <securityToken></securityToken> <id></id> </ns2:DeleteBooking> </S:Body> </S:Envelope> |
Explanation
Tag/field name |
Type |
Remark |
Description |
securityToken |
string |
mandatory |
securityToken obtained at log in |
id |
long |
mandatory |
hour booking id |
Examples
This example will delete hour booking with id 456789.
|
API response
Name: DeleteBookingResponse
API response structure
<?xml version="1.0" encoding="utf-8"?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <S:Body> <ns2:DeleteBookingResponse xmlns:ns2="api.timewriter.nl"> <result> <error></error> <errorMessage></errorMessage> <success></success> </result> </ns2:DeleteBookingResponse> </S:Body> </S:Envelope> |
Explanation
Tag/field name |
Type |
||||||||||||
result |
RequestResult
|