MyStudio


Click here for a complete list of operations.

SessionInitializeGUID

Accessing a MyStudio WebSession via previously stored GUID

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

<?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>
    <SessionInitializeGUID xmlns="http://www.sportstudio.pt">
      <SessionInitialize>
        <UserID>int</UserID>
        <UserEmail>string</UserEmail>
        <UserName>string</UserName>
        <Password>string</Password>
        <IsPasswordHashed>boolean</IsPasswordHashed>
        <IsMailHashed>boolean</IsMailHashed>
        <RememberMe>boolean</RememberMe>
        <ClientTime>dateTime</ClientTime>
        <DeviceID>string</DeviceID>
      </SessionInitialize>
    </SessionInitializeGUID>
  </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>
    <SessionInitializeGUIDResponse xmlns="http://www.sportstudio.pt">
      <SessionInitializeGUIDResult>
        <SID>string</SID>
        <MediaSID>string</MediaSID>
        <ClientID>int</ClientID>
        <DeviceID>string</DeviceID>
        <Name>string</Name>
        <EMail>string</EMail>
        <Telef>string</Telef>
        <HashedPassword>string</HashedPassword>
        <LocationInfo>
          <region>string</region>
          <latitude>string</latitude>
          <longitude>string</longitude>
          <culture>string</culture>
        </LocationInfo>
        <CoinInfo>
          <symbol>string</symbol>
          <format>string</format>
          <decimal>string</decimal>
          <thousand>string</thousand>
          <precision>string</precision>
        </CoinInfo>
        <ActiveCompanyID>int</ActiveCompanyID>
        <ActiveCompanyDomain>string</ActiveCompanyDomain>
        <UserID>int</UserID>
        <MemberID>int</MemberID>
        <UserName>string</UserName>
        <UserPreferredName>string</UserPreferredName>
        <UserEmail>string</UserEmail>
        <UserEntryCode>string</UserEntryCode>
        <UserGUID>string</UserGUID>
        <UserPhoto>string</UserPhoto>
        <EnableAdvertisement>boolean</EnableAdvertisement>
        <LoginsCount>int</LoginsCount>
        <RecType>int</RecType>
        <ServerTime>dateTime</ServerTime>
        <ClientTime>dateTime</ClientTime>
        <ServerConfig>
          <dbactualversion>string</dbactualversion>
          <dbmajorversion>int</dbmajorversion>
          <dbminorversion>int</dbminorversion>
          <dbbuildversion>int</dbbuildversion>
          <dbfeatures>string</dbfeatures>
        </ServerConfig>
        <CompanyList>
          <CompanyInfo>
            <cod_company>int</cod_company>
            <avcliid>int</avcliid>
            <acronym>string</acronym>
            <name>string</name>
            <businessname>string</businessname>
            <webservices_domain>string</webservices_domain>
            <friendlyname>string</friendlyname>
            <email>string</email>
            <clientarea_exclude>int</clientarea_exclude>
            <LoginInfo xsi:nil="true" />
            <AvailableLogins xsi:nil="true" />
          </CompanyInfo>
          <CompanyInfo>
            <cod_company>int</cod_company>
            <avcliid>int</avcliid>
            <acronym>string</acronym>
            <name>string</name>
            <businessname>string</businessname>
            <webservices_domain>string</webservices_domain>
            <friendlyname>string</friendlyname>
            <email>string</email>
            <clientarea_exclude>int</clientarea_exclude>
            <LoginInfo xsi:nil="true" />
            <AvailableLogins xsi:nil="true" />
          </CompanyInfo>
        </CompanyList>
        <ModuleList>
          <Module>RELACOES or PONTO or LISTADV or NOTAS or AGENDA or SENHAS or PERDIDOS or QUOTAS or POS or WEB or GRAFICOS or FILADV or CACIFOS or SDD or QUIOSQUERESERVAS or AVALFISICA or PRESCRIPT or GFM or GALLERYBUILDER or NUTRITIONANDFIT or NUTRITIONONLY or QUESTIONNAIRE or STAT_BASIC or STAT_ADVANCED or PAYROLL or MAXAVAIL</Module>
          <Module>RELACOES or PONTO or LISTADV or NOTAS or AGENDA or SENHAS or PERDIDOS or QUOTAS or POS or WEB or GRAFICOS or FILADV or CACIFOS or SDD or QUIOSQUERESERVAS or AVALFISICA or PRESCRIPT or GFM or GALLERYBUILDER or NUTRITIONANDFIT or NUTRITIONONLY or QUESTIONNAIRE or STAT_BASIC or STAT_ADVANCED or PAYROLL or MAXAVAIL</Module>
        </ModuleList>
        <Permissions>
          <string>string</string>
          <string>string</string>
        </Permissions>
      </SessionInitializeGUIDResult>
    </SessionInitializeGUIDResponse>
  </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>
    <SessionInitializeGUID xmlns="http://www.sportstudio.pt">
      <SessionInitialize>
        <UserID>int</UserID>
        <UserEmail>string</UserEmail>
        <UserName>string</UserName>
        <Password>string</Password>
        <IsPasswordHashed>boolean</IsPasswordHashed>
        <IsMailHashed>boolean</IsMailHashed>
        <RememberMe>boolean</RememberMe>
        <ClientTime>dateTime</ClientTime>
        <DeviceID>string</DeviceID>
      </SessionInitialize>
    </SessionInitializeGUID>
  </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>
    <SessionInitializeGUIDResponse xmlns="http://www.sportstudio.pt">
      <SessionInitializeGUIDResult>
        <SID>string</SID>
        <MediaSID>string</MediaSID>
        <ClientID>int</ClientID>
        <DeviceID>string</DeviceID>
        <Name>string</Name>
        <EMail>string</EMail>
        <Telef>string</Telef>
        <HashedPassword>string</HashedPassword>
        <LocationInfo>
          <region>string</region>
          <latitude>string</latitude>
          <longitude>string</longitude>
          <culture>string</culture>
        </LocationInfo>
        <CoinInfo>
          <symbol>string</symbol>
          <format>string</format>
          <decimal>string</decimal>
          <thousand>string</thousand>
          <precision>string</precision>
        </CoinInfo>
        <ActiveCompanyID>int</ActiveCompanyID>
        <ActiveCompanyDomain>string</ActiveCompanyDomain>
        <UserID>int</UserID>
        <MemberID>int</MemberID>
        <UserName>string</UserName>
        <UserPreferredName>string</UserPreferredName>
        <UserEmail>string</UserEmail>
        <UserEntryCode>string</UserEntryCode>
        <UserGUID>string</UserGUID>
        <UserPhoto>string</UserPhoto>
        <EnableAdvertisement>boolean</EnableAdvertisement>
        <LoginsCount>int</LoginsCount>
        <RecType>int</RecType>
        <ServerTime>dateTime</ServerTime>
        <ClientTime>dateTime</ClientTime>
        <ServerConfig>
          <dbactualversion>string</dbactualversion>
          <dbmajorversion>int</dbmajorversion>
          <dbminorversion>int</dbminorversion>
          <dbbuildversion>int</dbbuildversion>
          <dbfeatures>string</dbfeatures>
        </ServerConfig>
        <CompanyList>
          <CompanyInfo>
            <cod_company>int</cod_company>
            <avcliid>int</avcliid>
            <acronym>string</acronym>
            <name>string</name>
            <businessname>string</businessname>
            <webservices_domain>string</webservices_domain>
            <friendlyname>string</friendlyname>
            <email>string</email>
            <clientarea_exclude>int</clientarea_exclude>
            <LoginInfo xsi:nil="true" />
            <AvailableLogins xsi:nil="true" />
          </CompanyInfo>
          <CompanyInfo>
            <cod_company>int</cod_company>
            <avcliid>int</avcliid>
            <acronym>string</acronym>
            <name>string</name>
            <businessname>string</businessname>
            <webservices_domain>string</webservices_domain>
            <friendlyname>string</friendlyname>
            <email>string</email>
            <clientarea_exclude>int</clientarea_exclude>
            <LoginInfo xsi:nil="true" />
            <AvailableLogins xsi:nil="true" />
          </CompanyInfo>
        </CompanyList>
        <ModuleList>
          <Module>RELACOES or PONTO or LISTADV or NOTAS or AGENDA or SENHAS or PERDIDOS or QUOTAS or POS or WEB or GRAFICOS or FILADV or CACIFOS or SDD or QUIOSQUERESERVAS or AVALFISICA or PRESCRIPT or GFM or GALLERYBUILDER or NUTRITIONANDFIT or NUTRITIONONLY or QUESTIONNAIRE or STAT_BASIC or STAT_ADVANCED or PAYROLL or MAXAVAIL</Module>
          <Module>RELACOES or PONTO or LISTADV or NOTAS or AGENDA or SENHAS or PERDIDOS or QUOTAS or POS or WEB or GRAFICOS or FILADV or CACIFOS or SDD or QUIOSQUERESERVAS or AVALFISICA or PRESCRIPT or GFM or GALLERYBUILDER or NUTRITIONANDFIT or NUTRITIONONLY or QUESTIONNAIRE or STAT_BASIC or STAT_ADVANCED or PAYROLL or MAXAVAIL</Module>
        </ModuleList>
        <Permissions>
          <string>string</string>
          <string>string</string>
        </Permissions>
      </SessionInitializeGUIDResult>
    </SessionInitializeGUIDResponse>
  </soap12:Body>
</soap12:Envelope>