Syntch Gateway API

<back to all web services

GetGatewayUserRequest

User Management
Requires Authentication
Required role:Merchant
The following routes are available for this service:
GET/users/{userIdOrUserName}Get the gateway user with provided user id.
GetGatewayUserRequest Parameters:
NameParameterData TypeRequiredDescription
UserIdOrUserNamepathstringYesA string that will be interpreted as a User ID if it is an integer, or a username if it is a string
GatewayUser Parameters:
NameParameterData TypeRequiredDescription
UserNameformstringNo
PhoneNumberformstringNo
IdformintNo
DeleterUserIdformlong?No
CreatorUserIdformlongNo
LastModifierUserIdformlong?No
IsLockoutEnabledformboolNo
RolesformICollection<GatewayUserRole<Int64>>No
ClaimsformICollection<UserClaim>No
LoginsformICollection<GatewayUserLogin<Int64>>No
IsPhoneNumberConfirmedformboolNo
SecurityStampformstringNo
IsTwoFactorEnabledformboolNo
IsDeletedformboolNo
IsEmailConfirmedformboolNo
AccessFailedCountformintNo
LockoutEndDateUtcformDateTime?No
CreationTimeformDateTimeNo
LastModificationTimeformDateTime?No
DeletionTimeformDateTime?No
FirstNameformstringNo
EmailConfirmationCodeformstringNo
PasswordformstringNo
LastNameformstringNo
IsActiveformboolNo
EmailAddressformstringNo
TenantIdformint?No
AuthenticationSourceformstringNo
PasswordResetCodeformstringNo
LastLoginTimeformDateTime?No
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
TimezoneformstringNo
ShouldChangePasswordOnNextLoginformboolNo
UserClaim Parameters:
NameParameterData TypeRequiredDescription
ClaimTypeformstringNo
ClaimValueformstringNo
CreatorIdformintNo
TenantIdformintNo
CreateTimeformDateTimeNo

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.

GET /users/{userIdOrUserName} HTTP/1.1 
Host: syntch.simpay.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GatewayUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gateway.User.Domain.BindingModels">
  <AccessFailedCount>0</AccessFailedCount>
  <Address1>String</Address1>
  <Address2>String</Address2>
  <AuthenticationSource>String</AuthenticationSource>
  <City>String</City>
  <Claims xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gateway.Identity.Domain.BindingModels" i:nil="true" />
  <Country>String</Country>
  <CreationTime>0001-01-01T00:00:00</CreationTime>
  <CreatorUserId>0</CreatorUserId>
  <DeleterUserId>0</DeleterUserId>
  <DeletionTime>0001-01-01T00:00:00</DeletionTime>
  <EmailAddress>String</EmailAddress>
  <EmailConfirmationCode>String</EmailConfirmationCode>
  <FirstName>String</FirstName>
  <Id>0</Id>
  <IsActive>false</IsActive>
  <IsDeleted>false</IsDeleted>
  <IsEmailConfirmed>false</IsEmailConfirmed>
  <IsLockoutEnabled>false</IsLockoutEnabled>
  <IsPhoneNumberConfirmed>false</IsPhoneNumberConfirmed>
  <IsTwoFactorEnabled>false</IsTwoFactorEnabled>
  <LastLoginTime>0001-01-01T00:00:00</LastLoginTime>
  <LastModificationTime>0001-01-01T00:00:00</LastModificationTime>
  <LastModifierUserId>0</LastModifierUserId>
  <LastName>String</LastName>
  <LockoutEndDateUtc>0001-01-01T00:00:00</LockoutEndDateUtc>
  <Logins xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gateway.Identity.Domain.BindingModels" />
  <Password>String</Password>
  <PasswordResetCode>String</PasswordResetCode>
  <PhoneNumber>String</PhoneNumber>
  <Roles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gateway.Identity.Domain.BindingModels" />
  <SecurityStamp>String</SecurityStamp>
  <ShouldChangePasswordOnNextLogin>false</ShouldChangePasswordOnNextLogin>
  <State>String</State>
  <TenantId>0</TenantId>
  <Timezone>String</Timezone>
  <UserName>String</UserName>
  <Zip>String</Zip>
</GatewayUser>