EMUN1 ASP.NET

<back to all web services

MigrateLegacyUsers

Requires Authentication
The following routes are available for this service:
All Verbs/service/MigrateLegacyUsers
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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /service/MigrateLegacyUsers HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"includeUsers":false,"excludeAspNet":false,"includeCustom":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"users":[{"shard":"String","id":0,"userAuthId":0,"provider":"String","userId":"String","userName":"String","fullName":"String","displayName":"String","firstName":"String","lastName":"String","company":"String","email":"String","phoneNumber":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","refreshToken":"String","refreshTokenExpiry":"0001-01-01T00:00:00.0000000Z","requestToken":"String","requestTokenSecret":"String","items":{"String":"String"},"accessToken":"String","accessTokenSecret":"String","createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","refId":0,"refIdStr":"String","meta":{"String":"String"}}]}