MyStudio


Click here for a complete list of operations.

ReservationsGetAvailable

Retrieves the list of the available reservations.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
SID:
Date:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /MyStudio.ASMX HTTP/1.1
Host: craque.sportstudio.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.sportstudio.pt/ReservationsGetAvailable"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ReservationsGetAvailable xmlns="http://www.sportstudio.pt">
      <SID>string</SID>
      <Date>dateTime</Date>
    </ReservationsGetAvailable>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ReservationsGetAvailableResponse xmlns="http://www.sportstudio.pt">
      <ReservationsGetAvailableResult>
        <ClassReservation>
          <reservation_date>dateTime</reservation_date>
          <cod_membro>int</cod_membro>
          <cod_turmas>int</cod_turmas>
          <nome_turma>string</nome_turma>
          <hrstart>string</hrstart>
          <hrend>string</hrend>
          <lotacao>int</lotacao>
          <inside>int</inside>
          <appointmentcount>int</appointmentcount>
          <responsavel>int</responsavel>
          <nome_responsavel>string</nome_responsavel>
          <cod_instalacao>int</cod_instalacao>
          <nome_instalacao>string</nome_instalacao>
          <color>string</color>
          <aheadreservetime>int</aheadreservetime>
          <afterstarttolerance>int</afterstarttolerance>
          <apref>string</apref>
          <cod_division>int</cod_division>
          <duration>int</duration>
          <cod_inventario>int</cod_inventario>
          <debittype>int</debittype>
          <hourselect>int</hourselect>
          <cod_aptype_mark>int</cod_aptype_mark>
          <cod_aptype_cancel>int</cod_aptype_cancel>
          <cod_aptype_full>int</cod_aptype_full>
          <cod_aptype_wait>int</cod_aptype_wait>
          <canceltimeout>int</canceltimeout>
          <totalreservemax>int</totalreservemax>
          <overreservemax>int</overreservemax>
          <cod_lvt>int</cod_lvt>
          <cod_scheduledetail>int</cod_scheduledetail>
          <cod_lesson>int</cod_lesson>
          <reservemax>int</reservemax>
          <reservemaxweek>int</reservemaxweek>
          <reservemaxmonth>int</reservemaxmonth>
          <saldo>decimal</saldo>
          <vagas>int</vagas>
          <reservation_id>string</reservation_id>
          <class_id>string</class_id>
          <cod_modalidade>int</cod_modalidade>
          <nome_modalidade>string</nome_modalidade>
          <config>
            <sessiontime>int</sessiontime>
            <reservas>int</reservas>
            <waitoperationtimeout>int</waitoperationtimeout>
            <printmode>int</printmode>
            <autoprintreserve>int</autoprintreserve>
            <allowprereserveprint>int</allowprereserveprint>
            <prereservetype>int</prereservetype>
            <prereserveprinttype>int</prereserveprinttype>
            <allowprintcopies>int</allowprintcopies>
            <allowreserve4class>int</allowreserve4class>
            <cod_lvt>int</cod_lvt>
            <cod_instalacao>int</cod_instalacao>
            <reserveheader>string</reserveheader>
            <maxaheaddays>int</maxaheaddays>
            <aheadreservetime>int</aheadreservetime>
            <aheadcanceltime>int</aheadcanceltime>
            <afterstarttolerance>int</afterstarttolerance>
            <canceltype>int</canceltype>
            <reservetype>int</reservetype>
            <maxreservesperuser>int</maxreservesperuser>
            <maxdupreservesperuser>int</maxdupreservesperuser>
            <minreservestatus>int</minreservestatus>
            <allowreservewhileusing>int</allowreservewhileusing>
            <allowentrynovality>int</allowentrynovality>
            <allowentrynocredit>int</allowentrynocredit>
            <allowentrynoaccess>int</allowentrynoaccess>
            <reservepercent>int</reservepercent>
            <allowhealthcertificate>int</allowhealthcertificate>
            <maxappointmentoverflow>int</maxappointmentoverflow>
            <maxappointmentperclass>int</maxappointmentperclass>
            <maxappointmentperuser>int</maxappointmentperuser>
            <maxappointmentperlvt>int</maxappointmentperlvt>
            <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
            <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
            <maxappointmentduplicate>int</maxappointmentduplicate>
            <checkappointmentoverflow>string</checkappointmentoverflow>
            <checkappointmentschedule>string</checkappointmentschedule>
            <cod_aptype_full>int</cod_aptype_full>
            <cod_aptype_wait>int</cod_aptype_wait>
          </config>
          <photo_url>string</photo_url>
          <healthcertificaterequired>int</healthcertificaterequired>
          <cod_clube>int</cod_clube>
          <nome_clube>string</nome_clube>
        </ClassReservation>
        <ClassReservation>
          <reservation_date>dateTime</reservation_date>
          <cod_membro>int</cod_membro>
          <cod_turmas>int</cod_turmas>
          <nome_turma>string</nome_turma>
          <hrstart>string</hrstart>
          <hrend>string</hrend>
          <lotacao>int</lotacao>
          <inside>int</inside>
          <appointmentcount>int</appointmentcount>
          <responsavel>int</responsavel>
          <nome_responsavel>string</nome_responsavel>
          <cod_instalacao>int</cod_instalacao>
          <nome_instalacao>string</nome_instalacao>
          <color>string</color>
          <aheadreservetime>int</aheadreservetime>
          <afterstarttolerance>int</afterstarttolerance>
          <apref>string</apref>
          <cod_division>int</cod_division>
          <duration>int</duration>
          <cod_inventario>int</cod_inventario>
          <debittype>int</debittype>
          <hourselect>int</hourselect>
          <cod_aptype_mark>int</cod_aptype_mark>
          <cod_aptype_cancel>int</cod_aptype_cancel>
          <cod_aptype_full>int</cod_aptype_full>
          <cod_aptype_wait>int</cod_aptype_wait>
          <canceltimeout>int</canceltimeout>
          <totalreservemax>int</totalreservemax>
          <overreservemax>int</overreservemax>
          <cod_lvt>int</cod_lvt>
          <cod_scheduledetail>int</cod_scheduledetail>
          <cod_lesson>int</cod_lesson>
          <reservemax>int</reservemax>
          <reservemaxweek>int</reservemaxweek>
          <reservemaxmonth>int</reservemaxmonth>
          <saldo>decimal</saldo>
          <vagas>int</vagas>
          <reservation_id>string</reservation_id>
          <class_id>string</class_id>
          <cod_modalidade>int</cod_modalidade>
          <nome_modalidade>string</nome_modalidade>
          <config>
            <sessiontime>int</sessiontime>
            <reservas>int</reservas>
            <waitoperationtimeout>int</waitoperationtimeout>
            <printmode>int</printmode>
            <autoprintreserve>int</autoprintreserve>
            <allowprereserveprint>int</allowprereserveprint>
            <prereservetype>int</prereservetype>
            <prereserveprinttype>int</prereserveprinttype>
            <allowprintcopies>int</allowprintcopies>
            <allowreserve4class>int</allowreserve4class>
            <cod_lvt>int</cod_lvt>
            <cod_instalacao>int</cod_instalacao>
            <reserveheader>string</reserveheader>
            <maxaheaddays>int</maxaheaddays>
            <aheadreservetime>int</aheadreservetime>
            <aheadcanceltime>int</aheadcanceltime>
            <afterstarttolerance>int</afterstarttolerance>
            <canceltype>int</canceltype>
            <reservetype>int</reservetype>
            <maxreservesperuser>int</maxreservesperuser>
            <maxdupreservesperuser>int</maxdupreservesperuser>
            <minreservestatus>int</minreservestatus>
            <allowreservewhileusing>int</allowreservewhileusing>
            <allowentrynovality>int</allowentrynovality>
            <allowentrynocredit>int</allowentrynocredit>
            <allowentrynoaccess>int</allowentrynoaccess>
            <reservepercent>int</reservepercent>
            <allowhealthcertificate>int</allowhealthcertificate>
            <maxappointmentoverflow>int</maxappointmentoverflow>
            <maxappointmentperclass>int</maxappointmentperclass>
            <maxappointmentperuser>int</maxappointmentperuser>
            <maxappointmentperlvt>int</maxappointmentperlvt>
            <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
            <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
            <maxappointmentduplicate>int</maxappointmentduplicate>
            <checkappointmentoverflow>string</checkappointmentoverflow>
            <checkappointmentschedule>string</checkappointmentschedule>
            <cod_aptype_full>int</cod_aptype_full>
            <cod_aptype_wait>int</cod_aptype_wait>
          </config>
          <photo_url>string</photo_url>
          <healthcertificaterequired>int</healthcertificaterequired>
          <cod_clube>int</cod_clube>
          <nome_clube>string</nome_clube>
        </ClassReservation>
      </ReservationsGetAvailableResult>
    </ReservationsGetAvailableResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /MyStudio.ASMX HTTP/1.1
Host: craque.sportstudio.pt
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ReservationsGetAvailable xmlns="http://www.sportstudio.pt">
      <SID>string</SID>
      <Date>dateTime</Date>
    </ReservationsGetAvailable>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ReservationsGetAvailableResponse xmlns="http://www.sportstudio.pt">
      <ReservationsGetAvailableResult>
        <ClassReservation>
          <reservation_date>dateTime</reservation_date>
          <cod_membro>int</cod_membro>
          <cod_turmas>int</cod_turmas>
          <nome_turma>string</nome_turma>
          <hrstart>string</hrstart>
          <hrend>string</hrend>
          <lotacao>int</lotacao>
          <inside>int</inside>
          <appointmentcount>int</appointmentcount>
          <responsavel>int</responsavel>
          <nome_responsavel>string</nome_responsavel>
          <cod_instalacao>int</cod_instalacao>
          <nome_instalacao>string</nome_instalacao>
          <color>string</color>
          <aheadreservetime>int</aheadreservetime>
          <afterstarttolerance>int</afterstarttolerance>
          <apref>string</apref>
          <cod_division>int</cod_division>
          <duration>int</duration>
          <cod_inventario>int</cod_inventario>
          <debittype>int</debittype>
          <hourselect>int</hourselect>
          <cod_aptype_mark>int</cod_aptype_mark>
          <cod_aptype_cancel>int</cod_aptype_cancel>
          <cod_aptype_full>int</cod_aptype_full>
          <cod_aptype_wait>int</cod_aptype_wait>
          <canceltimeout>int</canceltimeout>
          <totalreservemax>int</totalreservemax>
          <overreservemax>int</overreservemax>
          <cod_lvt>int</cod_lvt>
          <cod_scheduledetail>int</cod_scheduledetail>
          <cod_lesson>int</cod_lesson>
          <reservemax>int</reservemax>
          <reservemaxweek>int</reservemaxweek>
          <reservemaxmonth>int</reservemaxmonth>
          <saldo>decimal</saldo>
          <vagas>int</vagas>
          <reservation_id>string</reservation_id>
          <class_id>string</class_id>
          <cod_modalidade>int</cod_modalidade>
          <nome_modalidade>string</nome_modalidade>
          <config>
            <sessiontime>int</sessiontime>
            <reservas>int</reservas>
            <waitoperationtimeout>int</waitoperationtimeout>
            <printmode>int</printmode>
            <autoprintreserve>int</autoprintreserve>
            <allowprereserveprint>int</allowprereserveprint>
            <prereservetype>int</prereservetype>
            <prereserveprinttype>int</prereserveprinttype>
            <allowprintcopies>int</allowprintcopies>
            <allowreserve4class>int</allowreserve4class>
            <cod_lvt>int</cod_lvt>
            <cod_instalacao>int</cod_instalacao>
            <reserveheader>string</reserveheader>
            <maxaheaddays>int</maxaheaddays>
            <aheadreservetime>int</aheadreservetime>
            <aheadcanceltime>int</aheadcanceltime>
            <afterstarttolerance>int</afterstarttolerance>
            <canceltype>int</canceltype>
            <reservetype>int</reservetype>
            <maxreservesperuser>int</maxreservesperuser>
            <maxdupreservesperuser>int</maxdupreservesperuser>
            <minreservestatus>int</minreservestatus>
            <allowreservewhileusing>int</allowreservewhileusing>
            <allowentrynovality>int</allowentrynovality>
            <allowentrynocredit>int</allowentrynocredit>
            <allowentrynoaccess>int</allowentrynoaccess>
            <reservepercent>int</reservepercent>
            <allowhealthcertificate>int</allowhealthcertificate>
            <maxappointmentoverflow>int</maxappointmentoverflow>
            <maxappointmentperclass>int</maxappointmentperclass>
            <maxappointmentperuser>int</maxappointmentperuser>
            <maxappointmentperlvt>int</maxappointmentperlvt>
            <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
            <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
            <maxappointmentduplicate>int</maxappointmentduplicate>
            <checkappointmentoverflow>string</checkappointmentoverflow>
            <checkappointmentschedule>string</checkappointmentschedule>
            <cod_aptype_full>int</cod_aptype_full>
            <cod_aptype_wait>int</cod_aptype_wait>
          </config>
          <photo_url>string</photo_url>
          <healthcertificaterequired>int</healthcertificaterequired>
          <cod_clube>int</cod_clube>
          <nome_clube>string</nome_clube>
        </ClassReservation>
        <ClassReservation>
          <reservation_date>dateTime</reservation_date>
          <cod_membro>int</cod_membro>
          <cod_turmas>int</cod_turmas>
          <nome_turma>string</nome_turma>
          <hrstart>string</hrstart>
          <hrend>string</hrend>
          <lotacao>int</lotacao>
          <inside>int</inside>
          <appointmentcount>int</appointmentcount>
          <responsavel>int</responsavel>
          <nome_responsavel>string</nome_responsavel>
          <cod_instalacao>int</cod_instalacao>
          <nome_instalacao>string</nome_instalacao>
          <color>string</color>
          <aheadreservetime>int</aheadreservetime>
          <afterstarttolerance>int</afterstarttolerance>
          <apref>string</apref>
          <cod_division>int</cod_division>
          <duration>int</duration>
          <cod_inventario>int</cod_inventario>
          <debittype>int</debittype>
          <hourselect>int</hourselect>
          <cod_aptype_mark>int</cod_aptype_mark>
          <cod_aptype_cancel>int</cod_aptype_cancel>
          <cod_aptype_full>int</cod_aptype_full>
          <cod_aptype_wait>int</cod_aptype_wait>
          <canceltimeout>int</canceltimeout>
          <totalreservemax>int</totalreservemax>
          <overreservemax>int</overreservemax>
          <cod_lvt>int</cod_lvt>
          <cod_scheduledetail>int</cod_scheduledetail>
          <cod_lesson>int</cod_lesson>
          <reservemax>int</reservemax>
          <reservemaxweek>int</reservemaxweek>
          <reservemaxmonth>int</reservemaxmonth>
          <saldo>decimal</saldo>
          <vagas>int</vagas>
          <reservation_id>string</reservation_id>
          <class_id>string</class_id>
          <cod_modalidade>int</cod_modalidade>
          <nome_modalidade>string</nome_modalidade>
          <config>
            <sessiontime>int</sessiontime>
            <reservas>int</reservas>
            <waitoperationtimeout>int</waitoperationtimeout>
            <printmode>int</printmode>
            <autoprintreserve>int</autoprintreserve>
            <allowprereserveprint>int</allowprereserveprint>
            <prereservetype>int</prereservetype>
            <prereserveprinttype>int</prereserveprinttype>
            <allowprintcopies>int</allowprintcopies>
            <allowreserve4class>int</allowreserve4class>
            <cod_lvt>int</cod_lvt>
            <cod_instalacao>int</cod_instalacao>
            <reserveheader>string</reserveheader>
            <maxaheaddays>int</maxaheaddays>
            <aheadreservetime>int</aheadreservetime>
            <aheadcanceltime>int</aheadcanceltime>
            <afterstarttolerance>int</afterstarttolerance>
            <canceltype>int</canceltype>
            <reservetype>int</reservetype>
            <maxreservesperuser>int</maxreservesperuser>
            <maxdupreservesperuser>int</maxdupreservesperuser>
            <minreservestatus>int</minreservestatus>
            <allowreservewhileusing>int</allowreservewhileusing>
            <allowentrynovality>int</allowentrynovality>
            <allowentrynocredit>int</allowentrynocredit>
            <allowentrynoaccess>int</allowentrynoaccess>
            <reservepercent>int</reservepercent>
            <allowhealthcertificate>int</allowhealthcertificate>
            <maxappointmentoverflow>int</maxappointmentoverflow>
            <maxappointmentperclass>int</maxappointmentperclass>
            <maxappointmentperuser>int</maxappointmentperuser>
            <maxappointmentperlvt>int</maxappointmentperlvt>
            <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
            <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
            <maxappointmentduplicate>int</maxappointmentduplicate>
            <checkappointmentoverflow>string</checkappointmentoverflow>
            <checkappointmentschedule>string</checkappointmentschedule>
            <cod_aptype_full>int</cod_aptype_full>
            <cod_aptype_wait>int</cod_aptype_wait>
          </config>
          <photo_url>string</photo_url>
          <healthcertificaterequired>int</healthcertificaterequired>
          <cod_clube>int</cod_clube>
          <nome_clube>string</nome_clube>
        </ClassReservation>
      </ReservationsGetAvailableResult>
    </ReservationsGetAvailableResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /MyStudio.ASMX/ReservationsGetAvailable?SID=string&Date=string HTTP/1.1
Host: craque.sportstudio.pt
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfClassReservation xmlns="http://www.sportstudio.pt">
  <ClassReservation>
    <reservation_date>dateTime</reservation_date>
    <cod_membro>int</cod_membro>
    <cod_turmas>int</cod_turmas>
    <nome_turma>string</nome_turma>
    <hrstart>string</hrstart>
    <hrend>string</hrend>
    <lotacao>int</lotacao>
    <inside>int</inside>
    <appointmentcount>int</appointmentcount>
    <responsavel>int</responsavel>
    <nome_responsavel>string</nome_responsavel>
    <cod_instalacao>int</cod_instalacao>
    <nome_instalacao>string</nome_instalacao>
    <color>string</color>
    <aheadreservetime>int</aheadreservetime>
    <afterstarttolerance>int</afterstarttolerance>
    <apref>string</apref>
    <cod_division>int</cod_division>
    <duration>int</duration>
    <cod_inventario>int</cod_inventario>
    <debittype>int</debittype>
    <hourselect>int</hourselect>
    <cod_aptype_mark>int</cod_aptype_mark>
    <cod_aptype_cancel>int</cod_aptype_cancel>
    <cod_aptype_full>int</cod_aptype_full>
    <cod_aptype_wait>int</cod_aptype_wait>
    <canceltimeout>int</canceltimeout>
    <totalreservemax>int</totalreservemax>
    <overreservemax>int</overreservemax>
    <cod_lvt>int</cod_lvt>
    <cod_scheduledetail>int</cod_scheduledetail>
    <cod_lesson>int</cod_lesson>
    <reservemax>int</reservemax>
    <reservemaxweek>int</reservemaxweek>
    <reservemaxmonth>int</reservemaxmonth>
    <saldo>decimal</saldo>
    <vagas>int</vagas>
    <reservation_id>string</reservation_id>
    <class_id>string</class_id>
    <cod_modalidade>int</cod_modalidade>
    <nome_modalidade>string</nome_modalidade>
    <config>
      <sessiontime>int</sessiontime>
      <reservas>int</reservas>
      <waitoperationtimeout>int</waitoperationtimeout>
      <printmode>int</printmode>
      <autoprintreserve>int</autoprintreserve>
      <allowprereserveprint>int</allowprereserveprint>
      <prereservetype>int</prereservetype>
      <prereserveprinttype>int</prereserveprinttype>
      <allowprintcopies>int</allowprintcopies>
      <allowreserve4class>int</allowreserve4class>
      <cod_lvt>int</cod_lvt>
      <cod_instalacao>int</cod_instalacao>
      <reserveheader>string</reserveheader>
      <maxaheaddays>int</maxaheaddays>
      <aheadreservetime>int</aheadreservetime>
      <aheadcanceltime>int</aheadcanceltime>
      <afterstarttolerance>int</afterstarttolerance>
      <canceltype>int</canceltype>
      <reservetype>int</reservetype>
      <maxreservesperuser>int</maxreservesperuser>
      <maxdupreservesperuser>int</maxdupreservesperuser>
      <minreservestatus>int</minreservestatus>
      <allowreservewhileusing>int</allowreservewhileusing>
      <allowentrynovality>int</allowentrynovality>
      <allowentrynocredit>int</allowentrynocredit>
      <allowentrynoaccess>int</allowentrynoaccess>
      <reservepercent>int</reservepercent>
      <allowhealthcertificate>int</allowhealthcertificate>
      <maxappointmentoverflow>int</maxappointmentoverflow>
      <maxappointmentperclass>int</maxappointmentperclass>
      <maxappointmentperuser>int</maxappointmentperuser>
      <maxappointmentperlvt>int</maxappointmentperlvt>
      <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
      <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
      <maxappointmentduplicate>int</maxappointmentduplicate>
      <checkappointmentoverflow>string</checkappointmentoverflow>
      <checkappointmentschedule>string</checkappointmentschedule>
      <cod_aptype_full>int</cod_aptype_full>
      <cod_aptype_wait>int</cod_aptype_wait>
    </config>
    <photo_url>string</photo_url>
    <healthcertificaterequired>int</healthcertificaterequired>
    <cod_clube>int</cod_clube>
    <nome_clube>string</nome_clube>
  </ClassReservation>
  <ClassReservation>
    <reservation_date>dateTime</reservation_date>
    <cod_membro>int</cod_membro>
    <cod_turmas>int</cod_turmas>
    <nome_turma>string</nome_turma>
    <hrstart>string</hrstart>
    <hrend>string</hrend>
    <lotacao>int</lotacao>
    <inside>int</inside>
    <appointmentcount>int</appointmentcount>
    <responsavel>int</responsavel>
    <nome_responsavel>string</nome_responsavel>
    <cod_instalacao>int</cod_instalacao>
    <nome_instalacao>string</nome_instalacao>
    <color>string</color>
    <aheadreservetime>int</aheadreservetime>
    <afterstarttolerance>int</afterstarttolerance>
    <apref>string</apref>
    <cod_division>int</cod_division>
    <duration>int</duration>
    <cod_inventario>int</cod_inventario>
    <debittype>int</debittype>
    <hourselect>int</hourselect>
    <cod_aptype_mark>int</cod_aptype_mark>
    <cod_aptype_cancel>int</cod_aptype_cancel>
    <cod_aptype_full>int</cod_aptype_full>
    <cod_aptype_wait>int</cod_aptype_wait>
    <canceltimeout>int</canceltimeout>
    <totalreservemax>int</totalreservemax>
    <overreservemax>int</overreservemax>
    <cod_lvt>int</cod_lvt>
    <cod_scheduledetail>int</cod_scheduledetail>
    <cod_lesson>int</cod_lesson>
    <reservemax>int</reservemax>
    <reservemaxweek>int</reservemaxweek>
    <reservemaxmonth>int</reservemaxmonth>
    <saldo>decimal</saldo>
    <vagas>int</vagas>
    <reservation_id>string</reservation_id>
    <class_id>string</class_id>
    <cod_modalidade>int</cod_modalidade>
    <nome_modalidade>string</nome_modalidade>
    <config>
      <sessiontime>int</sessiontime>
      <reservas>int</reservas>
      <waitoperationtimeout>int</waitoperationtimeout>
      <printmode>int</printmode>
      <autoprintreserve>int</autoprintreserve>
      <allowprereserveprint>int</allowprereserveprint>
      <prereservetype>int</prereservetype>
      <prereserveprinttype>int</prereserveprinttype>
      <allowprintcopies>int</allowprintcopies>
      <allowreserve4class>int</allowreserve4class>
      <cod_lvt>int</cod_lvt>
      <cod_instalacao>int</cod_instalacao>
      <reserveheader>string</reserveheader>
      <maxaheaddays>int</maxaheaddays>
      <aheadreservetime>int</aheadreservetime>
      <aheadcanceltime>int</aheadcanceltime>
      <afterstarttolerance>int</afterstarttolerance>
      <canceltype>int</canceltype>
      <reservetype>int</reservetype>
      <maxreservesperuser>int</maxreservesperuser>
      <maxdupreservesperuser>int</maxdupreservesperuser>
      <minreservestatus>int</minreservestatus>
      <allowreservewhileusing>int</allowreservewhileusing>
      <allowentrynovality>int</allowentrynovality>
      <allowentrynocredit>int</allowentrynocredit>
      <allowentrynoaccess>int</allowentrynoaccess>
      <reservepercent>int</reservepercent>
      <allowhealthcertificate>int</allowhealthcertificate>
      <maxappointmentoverflow>int</maxappointmentoverflow>
      <maxappointmentperclass>int</maxappointmentperclass>
      <maxappointmentperuser>int</maxappointmentperuser>
      <maxappointmentperlvt>int</maxappointmentperlvt>
      <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
      <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
      <maxappointmentduplicate>int</maxappointmentduplicate>
      <checkappointmentoverflow>string</checkappointmentoverflow>
      <checkappointmentschedule>string</checkappointmentschedule>
      <cod_aptype_full>int</cod_aptype_full>
      <cod_aptype_wait>int</cod_aptype_wait>
    </config>
    <photo_url>string</photo_url>
    <healthcertificaterequired>int</healthcertificaterequired>
    <cod_clube>int</cod_clube>
    <nome_clube>string</nome_clube>
  </ClassReservation>
</ArrayOfClassReservation>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /MyStudio.ASMX/ReservationsGetAvailable HTTP/1.1
Host: craque.sportstudio.pt
Content-Type: application/x-www-form-urlencoded
Content-Length: length

SID=string&Date=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfClassReservation xmlns="http://www.sportstudio.pt">
  <ClassReservation>
    <reservation_date>dateTime</reservation_date>
    <cod_membro>int</cod_membro>
    <cod_turmas>int</cod_turmas>
    <nome_turma>string</nome_turma>
    <hrstart>string</hrstart>
    <hrend>string</hrend>
    <lotacao>int</lotacao>
    <inside>int</inside>
    <appointmentcount>int</appointmentcount>
    <responsavel>int</responsavel>
    <nome_responsavel>string</nome_responsavel>
    <cod_instalacao>int</cod_instalacao>
    <nome_instalacao>string</nome_instalacao>
    <color>string</color>
    <aheadreservetime>int</aheadreservetime>
    <afterstarttolerance>int</afterstarttolerance>
    <apref>string</apref>
    <cod_division>int</cod_division>
    <duration>int</duration>
    <cod_inventario>int</cod_inventario>
    <debittype>int</debittype>
    <hourselect>int</hourselect>
    <cod_aptype_mark>int</cod_aptype_mark>
    <cod_aptype_cancel>int</cod_aptype_cancel>
    <cod_aptype_full>int</cod_aptype_full>
    <cod_aptype_wait>int</cod_aptype_wait>
    <canceltimeout>int</canceltimeout>
    <totalreservemax>int</totalreservemax>
    <overreservemax>int</overreservemax>
    <cod_lvt>int</cod_lvt>
    <cod_scheduledetail>int</cod_scheduledetail>
    <cod_lesson>int</cod_lesson>
    <reservemax>int</reservemax>
    <reservemaxweek>int</reservemaxweek>
    <reservemaxmonth>int</reservemaxmonth>
    <saldo>decimal</saldo>
    <vagas>int</vagas>
    <reservation_id>string</reservation_id>
    <class_id>string</class_id>
    <cod_modalidade>int</cod_modalidade>
    <nome_modalidade>string</nome_modalidade>
    <config>
      <sessiontime>int</sessiontime>
      <reservas>int</reservas>
      <waitoperationtimeout>int</waitoperationtimeout>
      <printmode>int</printmode>
      <autoprintreserve>int</autoprintreserve>
      <allowprereserveprint>int</allowprereserveprint>
      <prereservetype>int</prereservetype>
      <prereserveprinttype>int</prereserveprinttype>
      <allowprintcopies>int</allowprintcopies>
      <allowreserve4class>int</allowreserve4class>
      <cod_lvt>int</cod_lvt>
      <cod_instalacao>int</cod_instalacao>
      <reserveheader>string</reserveheader>
      <maxaheaddays>int</maxaheaddays>
      <aheadreservetime>int</aheadreservetime>
      <aheadcanceltime>int</aheadcanceltime>
      <afterstarttolerance>int</afterstarttolerance>
      <canceltype>int</canceltype>
      <reservetype>int</reservetype>
      <maxreservesperuser>int</maxreservesperuser>
      <maxdupreservesperuser>int</maxdupreservesperuser>
      <minreservestatus>int</minreservestatus>
      <allowreservewhileusing>int</allowreservewhileusing>
      <allowentrynovality>int</allowentrynovality>
      <allowentrynocredit>int</allowentrynocredit>
      <allowentrynoaccess>int</allowentrynoaccess>
      <reservepercent>int</reservepercent>
      <allowhealthcertificate>int</allowhealthcertificate>
      <maxappointmentoverflow>int</maxappointmentoverflow>
      <maxappointmentperclass>int</maxappointmentperclass>
      <maxappointmentperuser>int</maxappointmentperuser>
      <maxappointmentperlvt>int</maxappointmentperlvt>
      <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
      <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
      <maxappointmentduplicate>int</maxappointmentduplicate>
      <checkappointmentoverflow>string</checkappointmentoverflow>
      <checkappointmentschedule>string</checkappointmentschedule>
      <cod_aptype_full>int</cod_aptype_full>
      <cod_aptype_wait>int</cod_aptype_wait>
    </config>
    <photo_url>string</photo_url>
    <healthcertificaterequired>int</healthcertificaterequired>
    <cod_clube>int</cod_clube>
    <nome_clube>string</nome_clube>
  </ClassReservation>
  <ClassReservation>
    <reservation_date>dateTime</reservation_date>
    <cod_membro>int</cod_membro>
    <cod_turmas>int</cod_turmas>
    <nome_turma>string</nome_turma>
    <hrstart>string</hrstart>
    <hrend>string</hrend>
    <lotacao>int</lotacao>
    <inside>int</inside>
    <appointmentcount>int</appointmentcount>
    <responsavel>int</responsavel>
    <nome_responsavel>string</nome_responsavel>
    <cod_instalacao>int</cod_instalacao>
    <nome_instalacao>string</nome_instalacao>
    <color>string</color>
    <aheadreservetime>int</aheadreservetime>
    <afterstarttolerance>int</afterstarttolerance>
    <apref>string</apref>
    <cod_division>int</cod_division>
    <duration>int</duration>
    <cod_inventario>int</cod_inventario>
    <debittype>int</debittype>
    <hourselect>int</hourselect>
    <cod_aptype_mark>int</cod_aptype_mark>
    <cod_aptype_cancel>int</cod_aptype_cancel>
    <cod_aptype_full>int</cod_aptype_full>
    <cod_aptype_wait>int</cod_aptype_wait>
    <canceltimeout>int</canceltimeout>
    <totalreservemax>int</totalreservemax>
    <overreservemax>int</overreservemax>
    <cod_lvt>int</cod_lvt>
    <cod_scheduledetail>int</cod_scheduledetail>
    <cod_lesson>int</cod_lesson>
    <reservemax>int</reservemax>
    <reservemaxweek>int</reservemaxweek>
    <reservemaxmonth>int</reservemaxmonth>
    <saldo>decimal</saldo>
    <vagas>int</vagas>
    <reservation_id>string</reservation_id>
    <class_id>string</class_id>
    <cod_modalidade>int</cod_modalidade>
    <nome_modalidade>string</nome_modalidade>
    <config>
      <sessiontime>int</sessiontime>
      <reservas>int</reservas>
      <waitoperationtimeout>int</waitoperationtimeout>
      <printmode>int</printmode>
      <autoprintreserve>int</autoprintreserve>
      <allowprereserveprint>int</allowprereserveprint>
      <prereservetype>int</prereservetype>
      <prereserveprinttype>int</prereserveprinttype>
      <allowprintcopies>int</allowprintcopies>
      <allowreserve4class>int</allowreserve4class>
      <cod_lvt>int</cod_lvt>
      <cod_instalacao>int</cod_instalacao>
      <reserveheader>string</reserveheader>
      <maxaheaddays>int</maxaheaddays>
      <aheadreservetime>int</aheadreservetime>
      <aheadcanceltime>int</aheadcanceltime>
      <afterstarttolerance>int</afterstarttolerance>
      <canceltype>int</canceltype>
      <reservetype>int</reservetype>
      <maxreservesperuser>int</maxreservesperuser>
      <maxdupreservesperuser>int</maxdupreservesperuser>
      <minreservestatus>int</minreservestatus>
      <allowreservewhileusing>int</allowreservewhileusing>
      <allowentrynovality>int</allowentrynovality>
      <allowentrynocredit>int</allowentrynocredit>
      <allowentrynoaccess>int</allowentrynoaccess>
      <reservepercent>int</reservepercent>
      <allowhealthcertificate>int</allowhealthcertificate>
      <maxappointmentoverflow>int</maxappointmentoverflow>
      <maxappointmentperclass>int</maxappointmentperclass>
      <maxappointmentperuser>int</maxappointmentperuser>
      <maxappointmentperlvt>int</maxappointmentperlvt>
      <maxappointmentperlvtweek>int</maxappointmentperlvtweek>
      <maxappointmentperlvtmonth>int</maxappointmentperlvtmonth>
      <maxappointmentduplicate>int</maxappointmentduplicate>
      <checkappointmentoverflow>string</checkappointmentoverflow>
      <checkappointmentschedule>string</checkappointmentschedule>
      <cod_aptype_full>int</cod_aptype_full>
      <cod_aptype_wait>int</cod_aptype_wait>
    </config>
    <photo_url>string</photo_url>
    <healthcertificaterequired>int</healthcertificaterequired>
    <cod_clube>int</cod_clube>
    <nome_clube>string</nome_clube>
  </ClassReservation>
</ArrayOfClassReservation>