GET api/User/GetUserByEmail?email={email}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetUserByEmailResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseObject | CGUser |
None. |
|
Code | ResponseCode |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseObject": { "UserId": "7e4c4b89-d23a-4dfe-9617-fa1184de1bb1", "UserName": "sample string 2", "PasswordHash": "sample string 3", "SecurityStamp": "sample string 4", "PassportId": 5, "FirstName": "sample string 6", "LastName": "sample string 7", "CgRegionId": 8, "CgRegion": "sample string 9", "IsEmailSubscription": true, "BillingToken": { "BillingTokenId": 1, "DpsBillingId": "sample string 2", "CardType": "sample string 3", "CardHolderName": "sample string 4", "CreditCardNumber": "sample string 5" }, "Region": "sample string 10", "Gender": "sample string 11", "MyGolfPassword": "sample string 12", "CountryId": 13, "NonAffiliateId": 14, "RegionId": 15, "IsProfileComplete": true }, "Code": 0, "Message": "sample string 1" }
application/xml, text/xml
Sample:
<GetUserByEmailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts"> <Code>None</Code> <Message>sample string 1</Message> <ResponseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/DotGolf.Data"> <d2p1:BillingToken> <d2p1:BillingTokenId>1</d2p1:BillingTokenId> <d2p1:CardHolderName>sample string 4</d2p1:CardHolderName> <d2p1:CardType>sample string 3</d2p1:CardType> <d2p1:CreditCardNumber>sample string 5</d2p1:CreditCardNumber> <d2p1:DpsBillingId>sample string 2</d2p1:DpsBillingId> </d2p1:BillingToken> <d2p1:CgRegion>sample string 9</d2p1:CgRegion> <d2p1:CgRegionId>8</d2p1:CgRegionId> <d2p1:CountryId>13</d2p1:CountryId> <d2p1:FirstName>sample string 6</d2p1:FirstName> <d2p1:Gender>sample string 11</d2p1:Gender> <d2p1:IsEmailSubscription>true</d2p1:IsEmailSubscription> <d2p1:IsProfileComplete>true</d2p1:IsProfileComplete> <d2p1:LastName>sample string 7</d2p1:LastName> <d2p1:MyGolfPassword>sample string 12</d2p1:MyGolfPassword> <d2p1:NonAffiliateId>14</d2p1:NonAffiliateId> <d2p1:PassportId>5</d2p1:PassportId> <d2p1:PasswordHash>sample string 3</d2p1:PasswordHash> <d2p1:Region>sample string 10</d2p1:Region> <d2p1:RegionId>15</d2p1:RegionId> <d2p1:SecurityStamp>sample string 4</d2p1:SecurityStamp> <d2p1:UserId>7e4c4b89-d23a-4dfe-9617-fa1184de1bb1</d2p1:UserId> <d2p1:UserName>sample string 2</d2p1:UserName> </ResponseObject> </GetUserByEmailResponse>