PlatformService
Haga clic aquí para obtener una lista completa de operaciones.
CreateA3PlatformUser
Crea un cliente dentro de la plataforma, integrado con A3.
El parámetro PlatformUserID, debe ser el NIF / CIF del usuario a crear
Los resultados del método son:
-1 : El usuario no dispone de permisos para agregar clientes de plataforma
-200: No se ha podido contactar con el servicio de licenciamiento.
-210: No se ha podido crear el KeySet.
-220: No se ha podido obtener el InstallKey
-230: No se ha podido crear el usuario ( Login ).
-240: No se ha podido crear el grupo por defecto .
-250: No se ha podido crear cliente para el CIF de la licencia .
-260: No se ha podido crear la licencia en el servicio IvLicense .
-300: Error validación marca 1.
-310: Error validación marca 2.
-320 y -330: El CIF de la licencia ya está en uso.
1 : Agregado correctamente
0 : No se ha agregado.
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 /NotificationServices/PlatformService.asmx HTTP/1.1 Host: neos.ivnosys.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://articsoluciones.net/segurnotes/CreateA3PlatformUser" <?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> <CreateA3PlatformUser xmlns="http://articsoluciones.net/segurnotes"> <SessionID>string</SessionID> <CustomerLicense>string</CustomerLicense> <PlatformUserID>string</PlatformUserID> <PlatformUserDescription>string</PlatformUserDescription> <PlatformUsereMail>string</PlatformUsereMail> <LicenseClientLimit>int</LicenseClientLimit> <LicenseType>int</LicenseType> <IdMarca>int</IdMarca> <params> <ExtParam> <key>string</key> <value>string</value> </ExtParam> <ExtParam> <key>string</key> <value>string</value> </ExtParam> </params> <sendEmail>boolean</sendEmail> <cultureName>string</cultureName> <expirationLicense>dateTime</expirationLicense> <orgType>string</orgType> <guidUserToken>string</guidUserToken> </CreateA3PlatformUser> </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> <CreateA3PlatformUserResponse xmlns="http://articsoluciones.net/segurnotes"> <CreateA3PlatformUserResult>int</CreateA3PlatformUserResult> <guidUserToken>string</guidUserToken> </CreateA3PlatformUserResponse> </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 /NotificationServices/PlatformService.asmx HTTP/1.1 Host: neos.ivnosys.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:Body> <CreateA3PlatformUser xmlns="http://articsoluciones.net/segurnotes"> <SessionID>string</SessionID> <CustomerLicense>string</CustomerLicense> <PlatformUserID>string</PlatformUserID> <PlatformUserDescription>string</PlatformUserDescription> <PlatformUsereMail>string</PlatformUsereMail> <LicenseClientLimit>int</LicenseClientLimit> <LicenseType>int</LicenseType> <IdMarca>int</IdMarca> <params> <ExtParam> <key>string</key> <value>string</value> </ExtParam> <ExtParam> <key>string</key> <value>string</value> </ExtParam> </params> <sendEmail>boolean</sendEmail> <cultureName>string</cultureName> <expirationLicense>dateTime</expirationLicense> <orgType>string</orgType> <guidUserToken>string</guidUserToken> </CreateA3PlatformUser> </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> <CreateA3PlatformUserResponse xmlns="http://articsoluciones.net/segurnotes"> <CreateA3PlatformUserResult>int</CreateA3PlatformUserResult> <guidUserToken>string</guidUserToken> </CreateA3PlatformUserResponse> </soap12:Body> </soap12:Envelope>