EMUN1 ASP.NET

<back to all web services

QueryUserEmail

QueryUserEmail Parameters:
NameParameterData TypeRequiredDescription
EmailquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
EmunUserAuth Parameters:
NameParameterData TypeRequiredDescription
ContactIdformstringNo
RetailerIdformstringNo
SalesRepIdformstringNo
AspMembershipIdformGuidNo
MetaformDictionary<string, string>No
TagsformDictionary<string, HashSet<String>>No
ShardedUserAuth Parameters:
NameParameterData TypeRequiredDescription
ShardformstringNo
EmailformstringNo
UserNameformstringNo
MetaformDictionary<string, string>No
UserAuth Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserNameformstringNo
EmailformstringNo
PrimaryEmailformstringNo
PhoneNumberformstringNo
FirstNameformstringNo
LastNameformstringNo
DisplayNameformstringNo
CompanyformstringNo
BirthDateformDateTime?No
BirthDateRawformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
CountryformstringNo
CultureformstringNo
FullNameformstringNo
GenderformstringNo
LanguageformstringNo
MailAddressformstringNo
NicknameformstringNo
PostalCodeformstringNo
TimeZoneformstringNo
SaltformstringNo
PasswordHashformstringNo
DigestHa1HashformstringNo
RolesformList<string>No
PermissionsformList<string>No
CreatedDateformDateTimeNo
ModifiedDateformDateTimeNo
InvalidLoginAttemptsformintNo
LastLoginAttemptformDateTime?No
LockedDateformDateTime?No
RecoveryTokenformstringNo
RefIdformint?No
RefIdStrformstringNo
MetaformDictionary<string, string>No
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: www.bernhardthospitality.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: QueryUserEmail

<?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>

<QueryUserEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Auth">
  <Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
  <Include xmlns="http://schemas.servicestack.net/types">String</Include>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
  <OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
  <Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
  <Take xmlns="http://schemas.servicestack.net/types">0</Take>
  <Email>String</Email>
</QueryUserEmail>

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

<QueryResponseOfEmunUserAuthgIPFCkm2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Offset>0</Offset>
  <Total>0</Total>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:EmunUserAuth>
      <Address xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Address>
      <Address2 xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Address2>
      <BirthDate xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0001-01-01T00:00:00</BirthDate>
      <BirthDateRaw xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</BirthDateRaw>
      <City xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</City>
      <Company xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Company>
      <Country xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Country>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0001-01-01T00:00:00</CreatedDate>
      <Culture xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Culture>
      <DigestHa1Hash xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</DigestHa1Hash>
      <DisplayName xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</DisplayName>
      <Email xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Email>
      <FirstName xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</FirstName>
      <FullName xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</FullName>
      <Gender xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Gender>
      <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0</Id>
      <InvalidLoginAttempts xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0</InvalidLoginAttempts>
      <Language xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Language>
      <LastLoginAttempt xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0001-01-01T00:00:00</LastLoginAttempt>
      <LastName xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</LastName>
      <LockedDate xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0001-01-01T00:00:00</LockedDate>
      <MailAddress xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</MailAddress>
      <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>Tags</d4p1:Key>
          <d4p1:Value>{String:[String]}</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </Meta>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0001-01-01T00:00:00</ModifiedDate>
      <Nickname xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Nickname>
      <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</PasswordHash>
      <Permissions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">
        <d4p1:string>String</d4p1:string>
      </Permissions>
      <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</PhoneNumber>
      <PostalCode xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</PostalCode>
      <PrimaryEmail xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</PrimaryEmail>
      <RecoveryToken xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</RecoveryToken>
      <RefId xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">0</RefId>
      <RefIdStr xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</RefIdStr>
      <Roles xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">
        <d4p1:string>String</d4p1:string>
      </Roles>
      <Salt xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Salt>
      <State xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</State>
      <TimeZone xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</TimeZone>
      <UserName xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</UserName>
      <Shard xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">String</Shard>
      <d2p1:AspMembershipId>00000000-0000-0000-0000-000000000000</d2p1:AspMembershipId>
      <d2p1:ContactId>String</d2p1:ContactId>
      <d2p1:RetailerId>String</d2p1:RetailerId>
      <d2p1:SalesRepId>String</d2p1:SalesRepId>
      <d2p1:Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      </d2p1:Tags>
    </d2p1:EmunUserAuth>
  </Results>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
        <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </Meta>
      </ResponseError>
    </Errors>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
  </ResponseStatus>
</QueryResponseOfEmunUserAuthgIPFCkm2>

    </soap:Body>
</soap:Envelope>