GET api/Merchant/GetMerchantByClubId/{clubId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clubId

integer

Required

Body Parameters

None.

Response Information

Resource Description

MerchantResponse
NameDescriptionTypeAdditional information
ResponseObject

CGMerchant

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": {
    "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:33:10.470791+00:00",
    "WebsiteUrl": "sample string 12",
    "RegionId": 13,
    "BankAccountNumber": "sample string 14"
  },
  "Code": 0,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<MerchantResponse 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:Address>sample string 3</d2p1:Address>
    <d2p1:BankAccountNumber>sample string 14</d2p1:BankAccountNumber>
    <d2p1:CgRegion>sample string 9</d2p1:CgRegion>
    <d2p1:CgRegionId>10</d2p1:CgRegionId>
    <d2p1:ClubId>6</d2p1:ClubId>
    <d2p1:DateDeleted>2024-11-26T17:33:10.470791+00:00</d2p1:DateDeleted>
    <d2p1:Description>sample string 11</d2p1:Description>
    <d2p1:Email>sample string 4</d2p1:Email>
    <d2p1:Latitude>1.1</d2p1:Latitude>
    <d2p1:Longitude>1.1</d2p1:Longitude>
    <d2p1:MerchantId>1</d2p1:MerchantId>
    <d2p1:MerchantName>sample string 2</d2p1:MerchantName>
    <d2p1:MerchantType>sample string 7</d2p1:MerchantType>
    <d2p1:Phone>sample string 5</d2p1:Phone>
    <d2p1:Region>sample string 8</d2p1:Region>
    <d2p1:RegionId>13</d2p1:RegionId>
    <d2p1:WebsiteUrl>sample string 12</d2p1:WebsiteUrl>
  </ResponseObject>
</MerchantResponse>