MyStudio
Click here for a complete list of operations.
AppointmentsGetMultipleReservations
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/AppointmentsGetMultipleReservations"
<?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>
<AppointmentsGetMultipleReservations xmlns="http://www.sportstudio.pt">
<SID>string</SID>
<AppointmentID>
<cod_appointment>int</cod_appointment>
<hash>string</hash>
<chargemethod>int</chargemethod>
<cod_pagamento>int</cod_pagamento>
<paymentorderurl>string</paymentorderurl>
</AppointmentID>
</AppointmentsGetMultipleReservations>
</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>
<AppointmentsGetMultipleReservationsResponse xmlns="http://www.sportstudio.pt">
<reservation>
<cod_appointment>int</cod_appointment>
<cod_appointmenttype>int</cod_appointmenttype>
<apauthor>string</apauthor>
<cod_instalacao>int</cod_instalacao>
<resourceref>string</resourceref>
<division>int</division>
<cod_turmas>int</cod_turmas>
<division_name>string</division_name>
<cod_inventario>int</cod_inventario>
<toprof>int</toprof>
<apstart>dateTime</apstart>
<duration>int</duration>
<lotation>int</lotation>
<hash>string</hash>
<obs>string</obs>
<details>
<cod_appointment>int</cod_appointment>
<hash>string</hash>
<cod_membro>int</cod_membro>
<apname>string</apname>
<cod_inventario>int</cod_inventario>
<email>string</email>
<inventario_desc>string</inventario_desc>
<price>decimal</price>
<member>
<cod_membro>int</cod_membro>
<tipo_ficha>1 or 2 or 3 or 4 or 5 or 6</tipo_ficha>
<nome>string</nome>
<sexo>int</sexo>
<data_nasc>string</data_nasc>
<morada>string</morada>
<localidade>string</localidade>
<cod_postal>string</cod_postal>
<telem>string</telem>
<tel_casa>string</tel_casa>
<email>string</email>
<n_bi>string</n_bi>
<n_contribuinte>string</n_contribuinte>
<proponente>int</proponente>
<relations xsi:nil="true" />
<questresult xsi:nil="true" />
<cod_mod_desportiva>int</cod_mod_desportiva>
<nome_recibo>string</nome_recibo>
<n_contrib_recibo>string</n_contrib_recibo>
<morada_recibo>string</morada_recibo>
<cod_nationality>int</cod_nationality>
<iban>string</iban>
<cod_clube>int</cod_clube>
<nome_clube>string</nome_clube>
<obs>string</obs>
<base64photo>string</base64photo>
<is_socio>int</is_socio>
<cod_tiposocio>int</cod_tiposocio>
<nome_tiposocio>string</nome_tiposocio>
<nsocio>string</nsocio>
<crm_receivesms>int</crm_receivesms>
<crm_receiveemails>int</crm_receiveemails>
<crm_allowpub>int</crm_allowpub>
<crm_allowimage>int</crm_allowimage>
<name_pub>string</name_pub>
<promo_name>string</promo_name>
<cod_owner>int</cod_owner>
<nome_owner>string</nome_owner>
<cod_trainner>int</cod_trainner>
<trainner>string</trainner>
<last_contact>string</last_contact>
<addresscountry>int</addresscountry>
<addresscountry_iso3166_a3>string</addresscountry_iso3166_a3>
<cod_accounter>int</cod_accounter>
<accounter>string</accounter>
<cod_athletetype>int</cod_athletetype>
<athletetype>string</athletetype>
<contacto>string</contacto>
<nome_profissao>string</nome_profissao>
</member>
<paymentorderurl>string</paymentorderurl>
</details>
<details>
<cod_appointment>int</cod_appointment>
<hash>string</hash>
<cod_membro>int</cod_membro>
<apname>string</apname>
<cod_inventario>int</cod_inventario>
<email>string</email>
<inventario_desc>string</inventario_desc>
<price>decimal</price>
<member>
<cod_membro>int</cod_membro>
<tipo_ficha>1 or 2 or 3 or 4 or 5 or 6</tipo_ficha>
<nome>string</nome>
<sexo>int</sexo>
<data_nasc>string</data_nasc>
<morada>string</morada>
<localidade>string</localidade>
<cod_postal>string</cod_postal>
<telem>string</telem>
<tel_casa>string</tel_casa>
<email>string</email>
<n_bi>string</n_bi>
<n_contribuinte>string</n_contribuinte>
<proponente>int</proponente>
<relations xsi:nil="true" />
<questresult xsi:nil="true" />
<cod_mod_desportiva>int</cod_mod_desportiva>
<nome_recibo>string</nome_recibo>
<n_contrib_recibo>string</n_contrib_recibo>
<morada_recibo>string</morada_recibo>
<cod_nationality>int</cod_nationality>
<iban>string</iban>
<cod_clube>int</cod_clube>
<nome_clube>string</nome_clube>
<obs>string</obs>
<base64photo>string</base64photo>
<is_socio>int</is_socio>
<cod_tiposocio>int</cod_tiposocio>
<nome_tiposocio>string</nome_tiposocio>
<nsocio>string</nsocio>
<crm_receivesms>int</crm_receivesms>
<crm_receiveemails>int</crm_receiveemails>
<crm_allowpub>int</crm_allowpub>
<crm_allowimage>int</crm_allowimage>
<name_pub>string</name_pub>
<promo_name>string</promo_name>
<cod_owner>int</cod_owner>
<nome_owner>string</nome_owner>
<cod_trainner>int</cod_trainner>
<trainner>string</trainner>
<last_contact>string</last_contact>
<addresscountry>int</addresscountry>
<addresscountry_iso3166_a3>string</addresscountry_iso3166_a3>
<cod_accounter>int</cod_accounter>
<accounter>string</accounter>
<cod_athletetype>int</cod_athletetype>
<athletetype>string</athletetype>
<contacto>string</contacto>
<nome_profissao>string</nome_profissao>
</member>
<paymentorderurl>string</paymentorderurl>
</details>
<recurrence>
<cod_recurrence>int</cod_recurrence>
<dt_start>dateTime</dt_start>
<dt_end>dateTime</dt_end>
<numrep>int</numrep>
<pattern>int</pattern>
<interval>int</interval>
<dayofweek>string</dayofweek>
<daynumber>int</daynumber>
<weeknumber>int</weeknumber>
<updatemode>string</updatemode>
</recurrence>
<config>
<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>
</reservation>
</AppointmentsGetMultipleReservationsResponse>
</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>
<AppointmentsGetMultipleReservations xmlns="http://www.sportstudio.pt">
<SID>string</SID>
<AppointmentID>
<cod_appointment>int</cod_appointment>
<hash>string</hash>
<chargemethod>int</chargemethod>
<cod_pagamento>int</cod_pagamento>
<paymentorderurl>string</paymentorderurl>
</AppointmentID>
</AppointmentsGetMultipleReservations>
</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>
<AppointmentsGetMultipleReservationsResponse xmlns="http://www.sportstudio.pt">
<reservation>
<cod_appointment>int</cod_appointment>
<cod_appointmenttype>int</cod_appointmenttype>
<apauthor>string</apauthor>
<cod_instalacao>int</cod_instalacao>
<resourceref>string</resourceref>
<division>int</division>
<cod_turmas>int</cod_turmas>
<division_name>string</division_name>
<cod_inventario>int</cod_inventario>
<toprof>int</toprof>
<apstart>dateTime</apstart>
<duration>int</duration>
<lotation>int</lotation>
<hash>string</hash>
<obs>string</obs>
<details>
<cod_appointment>int</cod_appointment>
<hash>string</hash>
<cod_membro>int</cod_membro>
<apname>string</apname>
<cod_inventario>int</cod_inventario>
<email>string</email>
<inventario_desc>string</inventario_desc>
<price>decimal</price>
<member>
<cod_membro>int</cod_membro>
<tipo_ficha>1 or 2 or 3 or 4 or 5 or 6</tipo_ficha>
<nome>string</nome>
<sexo>int</sexo>
<data_nasc>string</data_nasc>
<morada>string</morada>
<localidade>string</localidade>
<cod_postal>string</cod_postal>
<telem>string</telem>
<tel_casa>string</tel_casa>
<email>string</email>
<n_bi>string</n_bi>
<n_contribuinte>string</n_contribuinte>
<proponente>int</proponente>
<relations xsi:nil="true" />
<questresult xsi:nil="true" />
<cod_mod_desportiva>int</cod_mod_desportiva>
<nome_recibo>string</nome_recibo>
<n_contrib_recibo>string</n_contrib_recibo>
<morada_recibo>string</morada_recibo>
<cod_nationality>int</cod_nationality>
<iban>string</iban>
<cod_clube>int</cod_clube>
<nome_clube>string</nome_clube>
<obs>string</obs>
<base64photo>string</base64photo>
<is_socio>int</is_socio>
<cod_tiposocio>int</cod_tiposocio>
<nome_tiposocio>string</nome_tiposocio>
<nsocio>string</nsocio>
<crm_receivesms>int</crm_receivesms>
<crm_receiveemails>int</crm_receiveemails>
<crm_allowpub>int</crm_allowpub>
<crm_allowimage>int</crm_allowimage>
<name_pub>string</name_pub>
<promo_name>string</promo_name>
<cod_owner>int</cod_owner>
<nome_owner>string</nome_owner>
<cod_trainner>int</cod_trainner>
<trainner>string</trainner>
<last_contact>string</last_contact>
<addresscountry>int</addresscountry>
<addresscountry_iso3166_a3>string</addresscountry_iso3166_a3>
<cod_accounter>int</cod_accounter>
<accounter>string</accounter>
<cod_athletetype>int</cod_athletetype>
<athletetype>string</athletetype>
<contacto>string</contacto>
<nome_profissao>string</nome_profissao>
</member>
<paymentorderurl>string</paymentorderurl>
</details>
<details>
<cod_appointment>int</cod_appointment>
<hash>string</hash>
<cod_membro>int</cod_membro>
<apname>string</apname>
<cod_inventario>int</cod_inventario>
<email>string</email>
<inventario_desc>string</inventario_desc>
<price>decimal</price>
<member>
<cod_membro>int</cod_membro>
<tipo_ficha>1 or 2 or 3 or 4 or 5 or 6</tipo_ficha>
<nome>string</nome>
<sexo>int</sexo>
<data_nasc>string</data_nasc>
<morada>string</morada>
<localidade>string</localidade>
<cod_postal>string</cod_postal>
<telem>string</telem>
<tel_casa>string</tel_casa>
<email>string</email>
<n_bi>string</n_bi>
<n_contribuinte>string</n_contribuinte>
<proponente>int</proponente>
<relations xsi:nil="true" />
<questresult xsi:nil="true" />
<cod_mod_desportiva>int</cod_mod_desportiva>
<nome_recibo>string</nome_recibo>
<n_contrib_recibo>string</n_contrib_recibo>
<morada_recibo>string</morada_recibo>
<cod_nationality>int</cod_nationality>
<iban>string</iban>
<cod_clube>int</cod_clube>
<nome_clube>string</nome_clube>
<obs>string</obs>
<base64photo>string</base64photo>
<is_socio>int</is_socio>
<cod_tiposocio>int</cod_tiposocio>
<nome_tiposocio>string</nome_tiposocio>
<nsocio>string</nsocio>
<crm_receivesms>int</crm_receivesms>
<crm_receiveemails>int</crm_receiveemails>
<crm_allowpub>int</crm_allowpub>
<crm_allowimage>int</crm_allowimage>
<name_pub>string</name_pub>
<promo_name>string</promo_name>
<cod_owner>int</cod_owner>
<nome_owner>string</nome_owner>
<cod_trainner>int</cod_trainner>
<trainner>string</trainner>
<last_contact>string</last_contact>
<addresscountry>int</addresscountry>
<addresscountry_iso3166_a3>string</addresscountry_iso3166_a3>
<cod_accounter>int</cod_accounter>
<accounter>string</accounter>
<cod_athletetype>int</cod_athletetype>
<athletetype>string</athletetype>
<contacto>string</contacto>
<nome_profissao>string</nome_profissao>
</member>
<paymentorderurl>string</paymentorderurl>
</details>
<recurrence>
<cod_recurrence>int</cod_recurrence>
<dt_start>dateTime</dt_start>
<dt_end>dateTime</dt_end>
<numrep>int</numrep>
<pattern>int</pattern>
<interval>int</interval>
<dayofweek>string</dayofweek>
<daynumber>int</daynumber>
<weeknumber>int</weeknumber>
<updatemode>string</updatemode>
</recurrence>
<config>
<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>
</reservation>
</AppointmentsGetMultipleReservationsResponse>
</soap12:Body>
</soap12:Envelope>