POST api/MerchantReview/EditMerchantReview

Request Information

URI Parameters

None.

Body Parameters

CGMerchantReview
NameDescriptionTypeAdditional information
MerchantReviewId

integer

None.

MerchantId

integer

None.

ReviewBy

string

None.

ReviewByTitle

string

None.

Review

string

None.

IsActive

boolean

None.

DateCreated

date

None.

DateDeleted

date

None.

Merchant

CGMerchant

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<CGMerchantReview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.Data">
  <DateCreated>2024-11-26T17:32:21.7046159+00:00</DateCreated>
  <DateDeleted>2024-11-26T17:32:21.7046159+00:00</DateDeleted>
  <IsActive>true</IsActive>
  <Merchant>
    <Address>sample string 3</Address>
    <BankAccountNumber>sample string 14</BankAccountNumber>
    <CgRegion>sample string 9</CgRegion>
    <CgRegionId>10</CgRegionId>
    <ClubId>6</ClubId>
    <DateDeleted>2024-11-26T17:32:21.7046159+00:00</DateDeleted>
    <Description>sample string 11</Description>
    <Email>sample string 4</Email>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <MerchantId>1</MerchantId>
    <MerchantName>sample string 2</MerchantName>
    <MerchantType>sample string 7</MerchantType>
    <Phone>sample string 5</Phone>
    <Region>sample string 8</Region>
    <RegionId>13</RegionId>
    <WebsiteUrl>sample string 12</WebsiteUrl>
  </Merchant>
  <MerchantId>2</MerchantId>
  <MerchantReviewId>1</MerchantReviewId>
  <Review>sample string 5</Review>
  <ReviewBy>sample string 3</ReviewBy>
  <ReviewByTitle>sample string 4</ReviewByTitle>
</CGMerchantReview>

application/x-www-form-urlencoded

Sample:

Sample not available.

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:32:21.7046159+00:00",
    "DateDeleted": "2024-11-26T17:32:21.7046159+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:32:21.7046159+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:32:21.7046159+00:00</d2p1:DateCreated>
    <d2p1:DateDeleted>2024-11-26T17:32:21.7046159+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:32:21.7046159+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>