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>