Operacja clearPassword wyłącza autologowanie aktualnie zalogowanego użytkownika (odwrotność storePassword).
Przykładowe zapytanie SOAP:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="ns1">
<soapenv:Header/>
<soapenv:Body>
<ns1:clearPassword soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<billonUserPassword xsi:type="xsd:string">test_user</billonUserPassword>
</ns1:clearPassword>
</soapenv:Body>
</soapenv:Envelope>
Przykładowa odpowiedź SOAP:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="ns1">
<SOAP-ENV:Header/>
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ns1:clearPasswordResponse>
<return>
<requestStatus>SUCCESS</requestStatus>
<requestStatusDescription>Request succeeded.</requestStatusDescription>
</return>
</ns1:clearPasswordResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Parametry zapytania:
parametr | typ | opis |
---|
billonUserPassword | string | hasło zalogowanego użytkownika |
Parametry odpowiedzi:
nazwa | typ | opis |
---|
requestStatusDescription | string | opis statusu |
requestStatus | string | status wykonania zapytania |
Możliwe błędy:
błąd | opis |
---|
ERR_INVALID_PASSWORD | nieprawidłowe hasło |
Czy ten artykuł jest dla Ciebie pomocny?
Tak Nie