GseRepository
Haga clic aquí para obtener una lista completa de operaciones.
GetUserByUserName
Devuelve usuario
Prueba
El formulario de prueba sólo está disponible para solicitudes del equipo local.SOAP 1.1
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /GseRepository.asmx HTTP/1.1
Host: ws.gsedoc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.gsedoc.com/GetUserByUserName"
<?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>
<AuthHeader xmlns="http://ws.gsedoc.com/">
<UserName>string</UserName>
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<GetUserByUserName xmlns="http://ws.gsedoc.com/">
<userName>string</userName>
</GetUserByUserName>
</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>
<GetUserByUserNameResponse xmlns="http://ws.gsedoc.com/">
<GetUserByUserNameResult>
<id>int</id>
<username>string</username>
<owner>int</owner>
<path>string</path>
<admin_type>string</admin_type>
<password>string</password>
<email>string</email>
<receive_notifications>short</receive_notifications>
<name>string</name>
<company>string</company>
<registration_date>dateTime</registration_date>
<activated>short</activated>
<description>string</description>
<website>string</website>
<_readonly>short</_readonly>
<upload>short</upload>
<download>short</download>
<download_folders>short</download_folders>
<read_comments>short</read_comments>
<write_comments>short</write_comments>
<change_pass>short</change_pass>
<active>boolean</active>
<relativePath>string</relativePath>
<exportName>string</exportName>
</GetUserByUserNameResult>
</GetUserByUserNameResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /GseRepository.asmx HTTP/1.1
Host: ws.gsedoc.com
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:Header>
<AuthHeader xmlns="http://ws.gsedoc.com/">
<UserName>string</UserName>
<Password>string</Password>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<GetUserByUserName xmlns="http://ws.gsedoc.com/">
<userName>string</userName>
</GetUserByUserName>
</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>
<GetUserByUserNameResponse xmlns="http://ws.gsedoc.com/">
<GetUserByUserNameResult>
<id>int</id>
<username>string</username>
<owner>int</owner>
<path>string</path>
<admin_type>string</admin_type>
<password>string</password>
<email>string</email>
<receive_notifications>short</receive_notifications>
<name>string</name>
<company>string</company>
<registration_date>dateTime</registration_date>
<activated>short</activated>
<description>string</description>
<website>string</website>
<_readonly>short</_readonly>
<upload>short</upload>
<download>short</download>
<download_folders>short</download_folders>
<read_comments>short</read_comments>
<write_comments>short</write_comments>
<change_pass>short</change_pass>
<active>boolean</active>
<relativePath>string</relativePath>
<exportName>string</exportName>
</GetUserByUserNameResult>
</GetUserByUserNameResponse>
</soap12:Body>
</soap12:Envelope>