MyStudio
Click here for a complete list of operations.
ActivateUser
Activates user client area. RegisterKey is sent by mail by the RegisterUser service.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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/ActivateUser"
<?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>
<ActivateUser xmlns="http://www.sportstudio.pt">
<RegisterKey>string</RegisterKey>
</ActivateUser>
</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>
<ActivateUserResponse xmlns="http://www.sportstudio.pt">
<ActivateUserResult>
<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>
</ActivateUserResult>
</ActivateUserResponse>
</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>
<ActivateUser xmlns="http://www.sportstudio.pt">
<RegisterKey>string</RegisterKey>
</ActivateUser>
</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>
<ActivateUserResponse xmlns="http://www.sportstudio.pt">
<ActivateUserResult>
<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>
</ActivateUserResult>
</ActivateUserResponse>
</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/ActivateUser?RegisterKey=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"?>
<authInfo xmlns="http://www.sportstudio.pt">
<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>
<cod_membro>int</cod_membro>
<membro_id>int</membro_id>
<codebar>string</codebar>
<nome>string</nome>
<nome_cartao>string</nome_cartao>
<email>string</email>
<photo_url>string</photo_url>
<idade>decimal</idade>
<tipo_ficha>int</tipo_ficha>
</LoginInfo>
<AvailableLogins>
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</AvailableLogins>
</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>
<cod_membro>int</cod_membro>
<membro_id>int</membro_id>
<codebar>string</codebar>
<nome>string</nome>
<nome_cartao>string</nome_cartao>
<email>string</email>
<photo_url>string</photo_url>
<idade>decimal</idade>
<tipo_ficha>int</tipo_ficha>
</LoginInfo>
<AvailableLogins>
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</AvailableLogins>
</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>
</authInfo>
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/ActivateUser HTTP/1.1 Host: craque.sportstudio.pt Content-Type: application/x-www-form-urlencoded Content-Length: length RegisterKey=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<authInfo xmlns="http://www.sportstudio.pt">
<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>
<cod_membro>int</cod_membro>
<membro_id>int</membro_id>
<codebar>string</codebar>
<nome>string</nome>
<nome_cartao>string</nome_cartao>
<email>string</email>
<photo_url>string</photo_url>
<idade>decimal</idade>
<tipo_ficha>int</tipo_ficha>
</LoginInfo>
<AvailableLogins>
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</AvailableLogins>
</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>
<cod_membro>int</cod_membro>
<membro_id>int</membro_id>
<codebar>string</codebar>
<nome>string</nome>
<nome_cartao>string</nome_cartao>
<email>string</email>
<photo_url>string</photo_url>
<idade>decimal</idade>
<tipo_ficha>int</tipo_ficha>
</LoginInfo>
<AvailableLogins>
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<MyStudioLogin d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</AvailableLogins>
</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>
</authInfo>