Registrar Web Services

<back to all web services

UserAuths

Requires Authentication
Required role:Admin
The following routes are available for this service:
GET/UserAuths
GET/UserAuths/{Ids}
GET/UserAuths/Emails/{Emails}
UserAuths Parameters:
NameParameterData TypeRequiredDescription
IdspathList<long>No
EmailspathList<string>No

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

HTTP + XML

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

POST /xml/reply/UserAuths HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: application/xml
Content-Length: length

<UserAuths xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Registrar.Model.Model.Transactions.UserRegistration">
  <Emails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Emails>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>0</d2p1:long>
  </Ids>
</UserAuths>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfUserAuth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Auth">
  <UserAuth>
    <Address>String</Address>
    <Address2>String</Address2>
    <BirthDate>0001-01-01T00:00:00</BirthDate>
    <BirthDateRaw>String</BirthDateRaw>
    <City>String</City>
    <Company>String</Company>
    <Country>String</Country>
    <CreatedDate>0001-01-01T00:00:00</CreatedDate>
    <Culture>String</Culture>
    <DigestHa1Hash>String</DigestHa1Hash>
    <DisplayName>String</DisplayName>
    <Email>String</Email>
    <FirstName>String</FirstName>
    <FullName>String</FullName>
    <Gender>String</Gender>
    <Id>0</Id>
    <InvalidLoginAttempts>0</InvalidLoginAttempts>
    <Language>String</Language>
    <LastLoginAttempt>0001-01-01T00:00:00</LastLoginAttempt>
    <LastName>String</LastName>
    <LockedDate>0001-01-01T00:00:00</LockedDate>
    <MailAddress>String</MailAddress>
    <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>
    <ModifiedDate>0001-01-01T00:00:00</ModifiedDate>
    <Nickname>String</Nickname>
    <PasswordHash>String</PasswordHash>
    <Permissions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Permissions>
    <PhoneNumber>String</PhoneNumber>
    <PostalCode>String</PostalCode>
    <PrimaryEmail>String</PrimaryEmail>
    <RecoveryToken>String</RecoveryToken>
    <RefId>0</RefId>
    <RefIdStr>String</RefIdStr>
    <Roles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Roles>
    <Salt>String</Salt>
    <State>String</State>
    <TimeZone>String</TimeZone>
    <UserName>String</UserName>
  </UserAuth>
</ArrayOfUserAuth>