GET api/MerchantReview/GetMerchantReviewById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

MerchantReviewResponse
NameDescriptionTypeAdditional information
ResponseObject

CGMerchantReview

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": {
    "MerchantReviewId": 1,
    "MerchantId": 2,
    "ReviewBy": "sample string 3",
    "ReviewByTitle": "sample string 4",
    "Review": "sample string 5",
    "IsActive": true,
    "DateCreated": "2024-11-26T17:34:27.4973311+00:00",
    "DateDeleted": "2024-11-26T17:34:27.4973311+00:00",
    "Merchant": {
      "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:27.4973311+00:00",
      "WebsiteUrl": "sample string 12",
      "RegionId": 13,
      "BankAccountNumber": "sample string 14"
    }
  },
  "Code": 0,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<MerchantReviewResponse 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:DateCreated>2024-11-26T17:34:27.4973311+00:00</d2p1:DateCreated>
    <d2p1:DateDeleted>2024-11-26T17:34:27.4973311+00:00</d2p1:DateDeleted>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:Merchant>
      <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:34:27.4973311+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>
    </d2p1:Merchant>
    <d2p1:MerchantId>2</d2p1:MerchantId>
    <d2p1:MerchantReviewId>1</d2p1:MerchantReviewId>
    <d2p1:Review>sample string 5</d2p1:Review>
    <d2p1:ReviewBy>sample string 3</d2p1:ReviewBy>
    <d2p1:ReviewByTitle>sample string 4</d2p1:ReviewByTitle>
  </ResponseObject>
</MerchantReviewResponse>