Customers


Click here for a complete list of operations.

UpdateCustomer

Mit dieser Funktion k├Ânnen Sie einen Kunden updaten.
Wenn sie keine Seriennummer und Passwort angeben werden diese automatisch erstellt.
DateTimeFormat: Link
Globalization: RequestEncoding = utf-8, ResponseEncoding = utf-8, Culture = en-US

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /management/AdminService/Customers.asmx HTTP/1.1
Host: www.smscreator.de
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.smscreator.de/gateway/UpdateCustomer"

<?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>
    <UpdateCustomer xmlns="http://www.smscreator.de/gateway">
      <User>string</User>
      <Password>string</Password>
      <Customer2Update>
        <Id>int</Id>
        <ResId>int</ResId>
        <ExtId>string</ExtId>
        <Active>int</Active>
        <PricelistId>int</PricelistId>
        <CompanyName>string</CompanyName>
        <CompanyName2>string</CompanyName2>
        <ContactPerson>string</ContactPerson>
        <Street>string</Street>
        <Postcode>string</Postcode>
        <Location>string</Location>
        <USTID>string</USTID>
        <Country>string</Country>
        <Tel>string</Tel>
        <Fax>string</Fax>
        <Mobil>string</Mobil>
        <EMail>string</EMail>
        <Web>string</Web>
        <Comment>string</Comment>
        <Bank>string</Bank>
        <BankCode>string</BankCode>
        <BankAccount>string</BankAccount>
        <BankHolder>string</BankHolder>
        <SMSCSerial>string</SMSCSerial>
        <Password>string</Password>
        <SenderName>string</SenderName>
        <BackMail>string</BackMail>
        <SendWarn>int</SendWarn>
        <SendWarnType>int</SendWarnType>
        <EMailNewsletter>int</EMailNewsletter>
        <CreateDate>dateTime</CreateDate>
        <IPLock>string</IPLock>
        <UseCountryCode>boolean</UseCountryCode>
        <CountryCode>int</CountryCode>
      </Customer2Update>
    </UpdateCustomer>
  </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>
    <UpdateCustomerResponse xmlns="http://www.smscreator.de/gateway">
      <UpdateCustomerResult>
        <StatusCode>None or Ok or InvalidUser or AccountLocked or IPLock or DatabaseError</StatusCode>
        <Value />
      </UpdateCustomerResult>
    </UpdateCustomerResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /management/AdminService/Customers.asmx HTTP/1.1
Host: www.smscreator.de
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>
    <UpdateCustomer xmlns="http://www.smscreator.de/gateway">
      <User>string</User>
      <Password>string</Password>
      <Customer2Update>
        <Id>int</Id>
        <ResId>int</ResId>
        <ExtId>string</ExtId>
        <Active>int</Active>
        <PricelistId>int</PricelistId>
        <CompanyName>string</CompanyName>
        <CompanyName2>string</CompanyName2>
        <ContactPerson>string</ContactPerson>
        <Street>string</Street>
        <Postcode>string</Postcode>
        <Location>string</Location>
        <USTID>string</USTID>
        <Country>string</Country>
        <Tel>string</Tel>
        <Fax>string</Fax>
        <Mobil>string</Mobil>
        <EMail>string</EMail>
        <Web>string</Web>
        <Comment>string</Comment>
        <Bank>string</Bank>
        <BankCode>string</BankCode>
        <BankAccount>string</BankAccount>
        <BankHolder>string</BankHolder>
        <SMSCSerial>string</SMSCSerial>
        <Password>string</Password>
        <SenderName>string</SenderName>
        <BackMail>string</BackMail>
        <SendWarn>int</SendWarn>
        <SendWarnType>int</SendWarnType>
        <EMailNewsletter>int</EMailNewsletter>
        <CreateDate>dateTime</CreateDate>
        <IPLock>string</IPLock>
        <UseCountryCode>boolean</UseCountryCode>
        <CountryCode>int</CountryCode>
      </Customer2Update>
    </UpdateCustomer>
  </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>
    <UpdateCustomerResponse xmlns="http://www.smscreator.de/gateway">
      <UpdateCustomerResult>
        <StatusCode>None or Ok or InvalidUser or AccountLocked or IPLock or DatabaseError</StatusCode>
        <Value />
      </UpdateCustomerResult>
    </UpdateCustomerResponse>
  </soap12:Body>
</soap12:Envelope>