GET api/User/GetAdminUser?val={val}&fromLive={fromLive}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
val | string |
Required |
|
fromLive | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
GetAdminUserResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseObject | PassportModel |
None. |
|
Code | ResponseCode |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseObject": { "AssociationId": 1, "ClubId": 1, "DeletedDate": "2024-11-26T17:34:25.3024493+00:00", "MemberId": 1, "NonAffiliateId": 1, "PassportId": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "Username": "sample string 4", "UserSecurityId": 1, "Email": "sample string 5", "Region": "sample string 6", "RegionId": 7, "CgRegionId": 8, "LiveVersion": "sample string 10", "MerchantModel": { "MerchantId": 1, "MerchantName": "sample string 2", "Address": "sample string 3", "Email": "sample string 4", "Phone": "sample string 5", "ClubId": 6, "MerchantType": "sample string 7", "Region": "sample string 8", "CgRegion": "sample string 9", "CgRegionId": 10, "Description": "sample string 11", "Latitude": 1.1, "Longitude": 1.1, "DateDeleted": "2024-11-26T17:34:25.3024493+00:00", "WebsiteUrl": "sample string 12", "RegionId": 13, "BankAccountNumber": "sample string 14" }, "DpsBillingId": "sample string 11", "IsCgUser": true }, "Code": 0, "Message": "sample string 1" }
application/xml, text/xml
Sample:
<GetAdminUserResponse 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> <AssociationId xmlns="">1</AssociationId> <CgRegionId xmlns="">8</CgRegionId> <ClubId xmlns="">1</ClubId> <DeletedDate xmlns="">2024-11-26T17:34:25.3024493+00:00</DeletedDate> <DpsBillingId xmlns="">sample string 11</DpsBillingId> <Email xmlns="">sample string 5</Email> <FirstName xmlns="">sample string 2</FirstName> <IsCgUser xmlns="">true</IsCgUser> <LastName xmlns="">sample string 3</LastName> <LiveVersion xmlns="">sample string 10</LiveVersion> <MemberId xmlns="">1</MemberId> <MerchantModel xmlns:d3p1="http://schemas.datacontract.org/2004/07/DotGolf.Data" xmlns=""> <d3p1:Address>sample string 3</d3p1:Address> <d3p1:BankAccountNumber>sample string 14</d3p1:BankAccountNumber> <d3p1:CgRegion>sample string 9</d3p1:CgRegion> <d3p1:CgRegionId>10</d3p1:CgRegionId> <d3p1:ClubId>6</d3p1:ClubId> <d3p1:DateDeleted>2024-11-26T17:34:25.3024493+00:00</d3p1:DateDeleted> <d3p1:Description>sample string 11</d3p1:Description> <d3p1:Email>sample string 4</d3p1:Email> <d3p1:Latitude>1.1</d3p1:Latitude> <d3p1:Longitude>1.1</d3p1:Longitude> <d3p1:MerchantId>1</d3p1:MerchantId> <d3p1:MerchantName>sample string 2</d3p1:MerchantName> <d3p1:MerchantType>sample string 7</d3p1:MerchantType> <d3p1:Phone>sample string 5</d3p1:Phone> <d3p1:Region>sample string 8</d3p1:Region> <d3p1:RegionId>13</d3p1:RegionId> <d3p1:WebsiteUrl>sample string 12</d3p1:WebsiteUrl> </MerchantModel> <NonAffiliateId xmlns="">1</NonAffiliateId> <PassportId xmlns="">1</PassportId> <Region xmlns="">sample string 6</Region> <RegionId xmlns="">7</RegionId> <UserSecurityId xmlns="">1</UserSecurityId> <Username xmlns="">sample string 4</Username> </ResponseObject> </GetAdminUserResponse>