GET api/User/GetPassport/{memberId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetPassportResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseObject | MemberDetailRec |
None. |
|
Code | ResponseCode |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseObject": { "UID": "48bc9bb1-91cf-437e-bc1f-d8a264cd054b", "DisplayCode": "sample string 2", "Gender": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "FullName": "sample string 6", "DisplayFullName": "sample string 7", "HomeClubName": "sample string 8", "HandicapIndex": 1.0, "HandicapIndexText": "sample string 9", "IsHomeClubMember": true, "MemberId": 11, "CentralMemberCode": "sample string 12", "IsAffiliate": true, "IsCasualGolfMember": true, "IsNineHoleMember": true, "DOB": "2024-11-26T17:44:50.2436911+00:00", "AllMemberCodes": [ "sample string 1", "sample string 2" ], "AllClubIds": [ 1, 2 ], "Email": "sample string 16", "PassportId": 17, "HasPassportCredential": true }, "Code": 0, "Message": "sample string 1" }
application/xml, text/xml
Sample:
<GetPassportResponse 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.BusinessLogic"> <d2p1:AllClubIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:AllClubIds> <d2p1:AllMemberCodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </d2p1:AllMemberCodes> <d2p1:CentralMemberCode>sample string 12</d2p1:CentralMemberCode> <d2p1:DOB>2024-11-26T17:44:50.2436911+00:00</d2p1:DOB> <d2p1:DisplayCode>sample string 2</d2p1:DisplayCode> <d2p1:DisplayFullName>sample string 7</d2p1:DisplayFullName> <d2p1:Email>sample string 16</d2p1:Email> <d2p1:FirstName>sample string 4</d2p1:FirstName> <d2p1:FullName>sample string 6</d2p1:FullName> <d2p1:Gender>sample string 3</d2p1:Gender> <d2p1:HandicapIndex>1</d2p1:HandicapIndex> <d2p1:HandicapIndexText>sample string 9</d2p1:HandicapIndexText> <d2p1:HasPassportCredential>true</d2p1:HasPassportCredential> <d2p1:HomeClubName>sample string 8</d2p1:HomeClubName> <d2p1:IsAffiliate>true</d2p1:IsAffiliate> <d2p1:IsCasualGolfMember>true</d2p1:IsCasualGolfMember> <d2p1:IsHomeClubMember>true</d2p1:IsHomeClubMember> <d2p1:IsNineHoleMember>true</d2p1:IsNineHoleMember> <d2p1:LastName>sample string 5</d2p1:LastName> <d2p1:MemberId>11</d2p1:MemberId> <d2p1:PassportId>17</d2p1:PassportId> <d2p1:UID>48bc9bb1-91cf-437e-bc1f-d8a264cd054b</d2p1:UID> </ResponseObject> </GetPassportResponse>