MyStudio


Click here for a complete list of operations.

AppointmentsGetDetail

Get appointment details for the specified ID.

Test

The test form is only available for requests from the local machine.

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/AppointmentsGetDetail"

<?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>
    <AppointmentsGetDetail xmlns="http://www.sportstudio.pt">
      <AppointmentID>
        <cod_appointment>int</cod_appointment>
        <hash>string</hash>
        <chargemethod>int</chargemethod>
        <cod_pagamento>int</cod_pagamento>
        <paymentorderurl>string</paymentorderurl>
      </AppointmentID>
    </AppointmentsGetDetail>
  </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>
    <AppointmentsGetDetailResponse xmlns="http://www.sportstudio.pt">
      <appointment>
        <resourcedesc>string</resourcedesc>
        <division_name>string</division_name>
        <color>string</color>
        <cod_appointment>int</cod_appointment>
        <cod_instalacao>int</cod_instalacao>
        <resourceref>string</resourceref>
        <apcount>int</apcount>
        <apstart>dateTime</apstart>
        <apend>dateTime</apend>
        <cod_membro>int</cod_membro>
        <apname>string</apname>
        <cod_appointmenttype>int</cod_appointmenttype>
        <appointmenttype>string</appointmenttype>
        <cod_lvt>int</cod_lvt>
        <cod_inventario>int</cod_inventario>
        <division>int</division>
        <charge>int</charge>
        <toprof>int</toprof>
        <cod_lesson>int</cod_lesson>
        <cod_turmas>int</cod_turmas>
        <nome_turma>string</nome_turma>
        <wasused>int</wasused>
        <lotation>int</lotation>
        <apauthor>string</apauthor>
        <obs>string</obs>
        <hash>string</hash>
        <relationorder>int</relationorder>
        <cod_recurrence>int</cod_recurrence>
        <class_id>string</class_id>
      </appointment>
    </AppointmentsGetDetailResponse>
  </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>
    <AppointmentsGetDetail xmlns="http://www.sportstudio.pt">
      <AppointmentID>
        <cod_appointment>int</cod_appointment>
        <hash>string</hash>
        <chargemethod>int</chargemethod>
        <cod_pagamento>int</cod_pagamento>
        <paymentorderurl>string</paymentorderurl>
      </AppointmentID>
    </AppointmentsGetDetail>
  </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>
    <AppointmentsGetDetailResponse xmlns="http://www.sportstudio.pt">
      <appointment>
        <resourcedesc>string</resourcedesc>
        <division_name>string</division_name>
        <color>string</color>
        <cod_appointment>int</cod_appointment>
        <cod_instalacao>int</cod_instalacao>
        <resourceref>string</resourceref>
        <apcount>int</apcount>
        <apstart>dateTime</apstart>
        <apend>dateTime</apend>
        <cod_membro>int</cod_membro>
        <apname>string</apname>
        <cod_appointmenttype>int</cod_appointmenttype>
        <appointmenttype>string</appointmenttype>
        <cod_lvt>int</cod_lvt>
        <cod_inventario>int</cod_inventario>
        <division>int</division>
        <charge>int</charge>
        <toprof>int</toprof>
        <cod_lesson>int</cod_lesson>
        <cod_turmas>int</cod_turmas>
        <nome_turma>string</nome_turma>
        <wasused>int</wasused>
        <lotation>int</lotation>
        <apauthor>string</apauthor>
        <obs>string</obs>
        <hash>string</hash>
        <relationorder>int</relationorder>
        <cod_recurrence>int</cod_recurrence>
        <class_id>string</class_id>
      </appointment>
    </AppointmentsGetDetailResponse>
  </soap12:Body>
</soap12:Envelope>