Service
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
putEmployee
Schreibt die Daten zu einem Mitarbeiter
Test
Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.SOAP 1.1
Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /WebPortalWebService/Service.asmx HTTP/1.1
Host: xlease033.xlease.ch
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.xlease.ch/webportal/putEmployee"
<?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://www.xlease.ch/webportal">
<UserName>string</UserName>
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<putEmployee xmlns="http://www.xlease.ch/webportal">
<In_UserID>string</In_UserID>
<In_VendorID>string</In_VendorID>
<In_LanguageID>int</In_LanguageID>
<In_EmplyeeID>string</In_EmplyeeID>
<In_Salutation>string</In_Salutation>
<In_Name>string</In_Name>
<In_FirstName>string</In_FirstName>
<In_PhoneDirect>string</In_PhoneDirect>
<In_PhoneFax>string</In_PhoneFax>
<In_PhoneMobile>string</In_PhoneMobile>
<In_EMail>string</In_EMail>
<In_Birthdate>dateTime</In_Birthdate>
<In_Street>string</In_Street>
<In_StreetNumber>string</In_StreetNumber>
<In_ZIP>string</In_ZIP>
<In_City>string</In_City>
<In_Country>int</In_Country>
<In_SocialSecurityNumber>string</In_SocialSecurityNumber>
<In_Provision>int</In_Provision>
<In_Department>string</In_Department>
<In_Position>string</In_Position>
<In_SalesNumber>string</In_SalesNumber>
<In_AccountBank>string</In_AccountBank>
<In_AccountIBAN>string</In_AccountIBAN>
<In_AccountHolder>string</In_AccountHolder>
<In_AddressStreet>string</In_AddressStreet>
<In_AddressStreetNumber>string</In_AddressStreetNumber>
<In_AddressZIP>string</In_AddressZIP>
<In_AddressCity>string</In_AddressCity>
<In_AddressCountry>int</In_AddressCountry>
<In_Status>int</In_Status>
<Out_EmployeeID>string</Out_EmployeeID>
</putEmployee>
</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>
<putEmployeeResponse xmlns="http://www.xlease.ch/webportal">
<putEmployeeResult>int</putEmployeeResult>
<Out_EmployeeID>string</Out_EmployeeID>
</putEmployeeResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /WebPortalWebService/Service.asmx HTTP/1.1
Host: xlease033.xlease.ch
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://www.xlease.ch/webportal">
<UserName>string</UserName>
<Password>string</Password>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<putEmployee xmlns="http://www.xlease.ch/webportal">
<In_UserID>string</In_UserID>
<In_VendorID>string</In_VendorID>
<In_LanguageID>int</In_LanguageID>
<In_EmplyeeID>string</In_EmplyeeID>
<In_Salutation>string</In_Salutation>
<In_Name>string</In_Name>
<In_FirstName>string</In_FirstName>
<In_PhoneDirect>string</In_PhoneDirect>
<In_PhoneFax>string</In_PhoneFax>
<In_PhoneMobile>string</In_PhoneMobile>
<In_EMail>string</In_EMail>
<In_Birthdate>dateTime</In_Birthdate>
<In_Street>string</In_Street>
<In_StreetNumber>string</In_StreetNumber>
<In_ZIP>string</In_ZIP>
<In_City>string</In_City>
<In_Country>int</In_Country>
<In_SocialSecurityNumber>string</In_SocialSecurityNumber>
<In_Provision>int</In_Provision>
<In_Department>string</In_Department>
<In_Position>string</In_Position>
<In_SalesNumber>string</In_SalesNumber>
<In_AccountBank>string</In_AccountBank>
<In_AccountIBAN>string</In_AccountIBAN>
<In_AccountHolder>string</In_AccountHolder>
<In_AddressStreet>string</In_AddressStreet>
<In_AddressStreetNumber>string</In_AddressStreetNumber>
<In_AddressZIP>string</In_AddressZIP>
<In_AddressCity>string</In_AddressCity>
<In_AddressCountry>int</In_AddressCountry>
<In_Status>int</In_Status>
<Out_EmployeeID>string</Out_EmployeeID>
</putEmployee>
</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>
<putEmployeeResponse xmlns="http://www.xlease.ch/webportal">
<putEmployeeResult>int</putEmployeeResult>
<Out_EmployeeID>string</Out_EmployeeID>
</putEmployeeResponse>
</soap12:Body>
</soap12:Envelope>