Welcome to Team Booking Api support.

Api - New structure

In the future we design our Api's for the following route config:

api.teambooking.dk/MainApiVersion/SystemId/Group/Controllername/Actionname.OutputFormat(xml/json/txt)
Supported groups are 3rd,book,ferry and event
jsonp is supported for cross domain by adding &callback=x
Examples:
XML request to system 1 (Læsø/Samsø) to the reservation controller, the controller is specifically made for compagny1:
api.teambooking.dk/1.0/1/3rd/compagny1/reservations.xml

JSON request to system 30 (Ærø) to the calendar controller, the controller is for events.
api.teambooking.dk/1.0/30/events/calendar/calendar.json

Link to comma separated file to system 1 (Læsø/Samsø) to get tomorrows reservations. 202 are vendor Id given by Team Booking
api.teambooking.dk/1.0/1/3rd/enalyzer/202.txt

Following Api are supported by the new structure.

Search:

{{api.version}}/{{api.groupName}}/{{api.controllerName}}/{{api.actionName}}

{{baseUrl}}/{{api.version}}/{{api.groupName}}/{{api.controllerName}}/{{api.actionName}}
Arguments/Fields: {{api.arguments}}
{{api.note}}

Accepted VERB's:
{{api.acceptedVerbs}}
Authentication:
{{api.authentication}}
ReturnType:
{{api.returnType}}

Api - Old structure

Following Api are supported by calling api.teambooking.dk directly:

  1. /api/testconnection
    https://api.teambooking.dk/api/testconnection/1
    Returns jsonp:
    Dynamic (Success/ErrorMessage)
  2. /api/test
    https://api.teambooking.dk/api/test
    Returns jsonp:
    Dynamic (message=Success/errormessage)
  3. /api/MailSend
    https://api.teambooking.dk/api/MailSend?systemPackageKey=1-xxxx-xxxx
    Returns jsonp:
    Dynamic (message=Success/no answer)
  4. /api/Fn_PakkId2NextUniqBetaIdPreFix
    https://api.teambooking.dk/api/Fn_PakkId2NextUniqBetaIdPreFix?systemId=1&packageId=123456
    Returns jsonp:
    Dynamic (message=A/B/C/D/E...../no answer)
  5. /api/PaymentRegister
    https://api.teambooking.dk/api/paymentregister?systempackagekey=1-xxxx-xxx&cardtype=v-dk&onlyonaccount=true&transactionnumber=1234
    Returns jsonp:
    Dynamic (message=Success/no answer)
  6. /api/Log
    https://api.teambooking.dk/api/log?logtext=Dette_er_log_teksten
    Returns jsonp:
    Dynamic (message=Success/errormessage)
  7. /api/Fn_AnnoArraList
    https://api.teambooking.dk/api/Fn_AnnoArraList?tbsd=&tbed=&tbf=&tbs=1&lang=da-DK
    Returns jsonp: