MobileConnect Application Server

<back to all web services

AddOrUpdateUser

To override the Content-type in your clients HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: 185.179.20.77 
Content-Type: text/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>

<AddOrUpdateUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ns.spiritdata.co.uk/ApplicationServer/types">
  <DeviceSerialNumber xmlns="http://schemas.servicestack.net/types">String</DeviceSerialNumber>
  <GeneratedAt xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</GeneratedAt>
  <SessionUid xmlns="http://schemas.servicestack.net/types">00000000-0000-0000-0000-000000000000</SessionUid>
  <PasswordHash>String</PasswordHash>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Spirit.Server.Common.DomainModel.User">
    <d2p1:AssignedRoutes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>00000000-0000-0000-0000-000000000000</d3p1:guid>
    </d2p1:AssignedRoutes>
    <d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
    <d2p1:CustomFields>0</d2p1:CustomFields>
    <d2p1:DataAccessGroups xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:DataAccessGroups>
    <d2p1:Details>
      <d2p1:Address1>String</d2p1:Address1>
      <d2p1:Address2>String</d2p1:Address2>
      <d2p1:Address3>String</d2p1:Address3>
      <d2p1:Country>String</d2p1:Country>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:FirstName>String</d2p1:FirstName>
      <d2p1:LastName>String</d2p1:LastName>
      <d2p1:MobileNumber>String</d2p1:MobileNumber>
      <d2p1:Postcode>String</d2p1:Postcode>
      <d2p1:TelephoneNumber>String</d2p1:TelephoneNumber>
    </d2p1:Details>
    <d2p1:Enabled>false</d2p1:Enabled>
    <d2p1:Fields xmlns:d3p1="http://schemas.datacontract.org/2004/07/Spirit.Server.Common.DomainModel.DataItems">
      <d3p1:DataItemField>
        <d3p1:Created>0001-01-01T00:00:00</d3p1:Created>
        <d3p1:Deleted>false</d3p1:Deleted>
        <d3p1:Modified>0001-01-01T00:00:00</d3p1:Modified>
        <d3p1:Name>String</d3p1:Name>
        <d3p1:Notes>String</d3p1:Notes>
        <d3p1:ReferUid>00000000-0000-0000-0000-000000000000</d3p1:ReferUid>
        <d3p1:Type>String</d3p1:Type>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:DataItemField>
    </d2p1:Fields>
    <d2p1:LastActive>0001-01-01T00:00:00</d2p1:LastActive>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:UserReferUid>00000000-0000-0000-0000-000000000000</d2p1:UserReferUid>
    <d2p1:UserRoles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:UserRoles>
  </User>
</AddOrUpdateUser>

    </soap12:Body>
</soap12:Envelope>