EMUN1 ASP.NET

<back to all web services

MigrateLegacyUsers

Requires Authentication
MigrateLegacyUsers Parameters:
NameParameterData TypeRequiredDescription
IncludeUsersqueryboolNo
ExcludeAspNetqueryboolNo
IncludeCustomqueryboolNo
EmunUsersMigrated Parameters:
NameParameterData TypeRequiredDescription
UsersformList<ShardedUserAuthDetails>No
ShardedUserAuthDetails Parameters:
NameParameterData TypeRequiredDescription
ShardformstringNo
UserAuthDetails Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserAuthIdformintNo
ProviderformstringNo
UserIdformstringNo
UserNameformstringNo
FullNameformstringNo
DisplayNameformstringNo
FirstNameformstringNo
LastNameformstringNo
CompanyformstringNo
EmailformstringNo
PhoneNumberformstringNo
BirthDateformDateTime?No
BirthDateRawformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
CountryformstringNo
CultureformstringNo
GenderformstringNo
LanguageformstringNo
MailAddressformstringNo
NicknameformstringNo
PostalCodeformstringNo
TimeZoneformstringNo
RefreshTokenformstringNo
RefreshTokenExpiryformDateTime?No
RequestTokenformstringNo
RequestTokenSecretformstringNo
ItemsformDictionary<string, string>No
AccessTokenformstringNo
AccessTokenSecretformstringNo
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
RefIdformint?No
RefIdStrformstringNo
MetaformDictionary<string, string>No

To override the Content-type in your clients, use the 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: www.bernhardthospitality.com 
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>

<MigrateLegacyUsers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Users">
  <ExcludeAspNet>false</ExcludeAspNet>
  <IncludeCustom>false</IncludeCustom>
  <IncludeUsers>false</IncludeUsers>
</MigrateLegacyUsers>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<EmunUsersMigrated xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Users">
  <Users xmlns:d2p1="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">
    <d2p1:ShardedUserAuthDetails>
      <d2p1:AccessToken>String</d2p1:AccessToken>
      <d2p1:AccessTokenSecret>String</d2p1:AccessTokenSecret>
      <d2p1:Address>String</d2p1:Address>
      <d2p1:Address2>String</d2p1:Address2>
      <d2p1:BirthDate>0001-01-01T00:00:00</d2p1:BirthDate>
      <d2p1:BirthDateRaw>String</d2p1:BirthDateRaw>
      <d2p1:City>String</d2p1:City>
      <d2p1:Company>String</d2p1:Company>
      <d2p1:Country>String</d2p1:Country>
      <d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
      <d2p1:Culture>String</d2p1:Culture>
      <d2p1:DisplayName>String</d2p1:DisplayName>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:FirstName>String</d2p1:FirstName>
      <d2p1:FullName>String</d2p1:FullName>
      <d2p1:Gender>String</d2p1:Gender>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </d2p1:Items>
      <d2p1:Language>String</d2p1:Language>
      <d2p1:LastName>String</d2p1:LastName>
      <d2p1:MailAddress>String</d2p1:MailAddress>
      <d2p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </d2p1:Meta>
      <d2p1:ModifiedDate>0001-01-01T00:00:00</d2p1:ModifiedDate>
      <d2p1:Nickname>String</d2p1:Nickname>
      <d2p1:PhoneNumber>String</d2p1:PhoneNumber>
      <d2p1:PostalCode>String</d2p1:PostalCode>
      <d2p1:Provider>String</d2p1:Provider>
      <d2p1:RefId>0</d2p1:RefId>
      <d2p1:RefIdStr>String</d2p1:RefIdStr>
      <d2p1:RefreshToken>String</d2p1:RefreshToken>
      <d2p1:RefreshTokenExpiry>0001-01-01T00:00:00</d2p1:RefreshTokenExpiry>
      <d2p1:RequestToken>String</d2p1:RequestToken>
      <d2p1:RequestTokenSecret>String</d2p1:RequestTokenSecret>
      <d2p1:State>String</d2p1:State>
      <d2p1:TimeZone>String</d2p1:TimeZone>
      <d2p1:UserAuthId>0</d2p1:UserAuthId>
      <d2p1:UserId>String</d2p1:UserId>
      <d2p1:UserName>String</d2p1:UserName>
      <d2p1:Shard>String</d2p1:Shard>
    </d2p1:ShardedUserAuthDetails>
  </Users>
</EmunUsersMigrated>

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