Retrieves details on languages installed on the server.
[C#] public TotalListOfLanguageValue GetLanguages( bool activeOnly );
true, the method returns only active languages. Otherwise, it returns all languages.| Request |
|---|
POST /wsb/ServiceFacade/3.2.1/SystemWebService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/webservices/sb/3.2.1/SystemService/GetLanguages"
<?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:Header>
<CredentialsSoapHeader xmlns="http://swsoft.com/webservices/sb/3.2.1/SystemService">
<Login>string</Login>
<Password>string</Password>
</CredentialsSoapHeader>
</soap:Header>
<soap:Body>
<GetLanguages xmlns="http://swsoft.com/webservices/sb/3.2.1/SystemService">
<activeOnly>boolean</activeOnly>
</GetLanguages>
</soap:Body>
</soap:Envelope> |
| Response |
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>
<GetLanguagesResponse xmlns="http://swsoft.com/webservices/sb/3.2.1/SystemService">
<GetLanguagesResult>
<TotalCount>int</TotalCount>
<Items>
<LanguageValue>
<LanguageId>string</LanguageId>
<Code>string</Code>
<Active>boolean</Active>
<EnglishName>string</EnglishName>
</LanguageValue>
<LanguageValue>
<LanguageId>string</LanguageId>
<Code>string</Code>
<Active>boolean</Active>
<EnglishName>string</EnglishName>
</LanguageValue>
</Items>
</GetLanguagesResult>
</GetLanguagesResponse>
</soap:Body>
</soap:Envelope> |