POST api/BOProfile/getReviews

Request Information

URI Parameters

None.

Body Parameters

ReviewModel
NameDescriptionTypeAdditional information
Serviceid

integer

None.

pageNo

integer

None.

rowPerPage

integer

None.

OverallReview

Collection of overallReview

None.

AvgOverallReview

Collection of avgOverallReview

None.

ReviewsInfo

Collection of ReviewInfo

None.

AttendedInfo

Collection of AttendedInfo

None.

TotalReviews

integer

None.

RatingCount

integer

None.

AvgRating

string

None.

fullEmptyRate

Collection of string

None.

AvgRatingFloat

string

None.

PublisherID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Serviceid": 3,
  "pageNo": 4,
  "rowPerPage": 5,
  "OverallReview": [
    {
      "Rating": 1,
      "RatingFloat": "sample string 2",
      "UserName": "sample string 3",
      "UserImgUrl": "sample string 4",
      "UserProfileUrl": "sample string 5",
      "Review": "sample string 6",
      "ReviewDate": "sample string 7",
      "serviceName": "sample string 8",
      "fullEmptyRate": [
        "sample string 1",
        "sample string 2"
      ],
      "isGlobal": 9,
      "ContentId": 10,
      "PublisherReviewID": 11,
      "PublisherId": 12,
      "ReviewID": 13,
      "ReviewUrl": "sample string 14"
    },
    {
      "Rating": 1,
      "RatingFloat": "sample string 2",
      "UserName": "sample string 3",
      "UserImgUrl": "sample string 4",
      "UserProfileUrl": "sample string 5",
      "Review": "sample string 6",
      "ReviewDate": "sample string 7",
      "serviceName": "sample string 8",
      "fullEmptyRate": [
        "sample string 1",
        "sample string 2"
      ],
      "isGlobal": 9,
      "ContentId": 10,
      "PublisherReviewID": 11,
      "PublisherId": 12,
      "ReviewID": 13,
      "ReviewUrl": "sample string 14"
    }
  ],
  "AvgOverallReview": [
    {
      "rateNo": 1,
      "rateText": "sample string 2",
      "avgRate": 3
    },
    {
      "rateNo": 1,
      "rateText": "sample string 2",
      "avgRate": 3
    }
  ],
  "ReviewsInfo": [
    {
      "ContentId": 1,
      "ReviewID": 2,
      "BusinessId": 3,
      "Reply": "sample string 4",
      "Createddate": "sample string 5",
      "facebookReplyID": "sample string 6",
      "FBUserName": "sample string 7",
      "FBUserPhoto": "sample string 8",
      "facebookCommentID": "sample string 9",
      "IsUserReply": 10
    },
    {
      "ContentId": 1,
      "ReviewID": 2,
      "BusinessId": 3,
      "Reply": "sample string 4",
      "Createddate": "sample string 5",
      "facebookReplyID": "sample string 6",
      "FBUserName": "sample string 7",
      "FBUserPhoto": "sample string 8",
      "facebookCommentID": "sample string 9",
      "IsUserReply": 10
    }
  ],
  "AttendedInfo": [
    {
      "Attended": 1,
      "Unattended": 2
    },
    {
      "Attended": 1,
      "Unattended": 2
    }
  ],
  "TotalReviews": 6,
  "RatingCount": 7,
  "AvgRating": "sample string 8",
  "fullEmptyRate": [
    "sample string 1",
    "sample string 2"
  ],
  "AvgRatingFloat": "sample string 9",
  "PublisherID": 11
}

application/xml, text/xml

Sample:
<ReviewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <AttendedInfo>
    <AttendedInfo>
      <Attended>1</Attended>
      <Unattended>2</Unattended>
    </AttendedInfo>
    <AttendedInfo>
      <Attended>1</Attended>
      <Unattended>2</Unattended>
    </AttendedInfo>
  </AttendedInfo>
  <AvgOverallReview>
    <avgOverallReview>
      <avgRate>3</avgRate>
      <rateNo>1</rateNo>
      <rateText>sample string 2</rateText>
    </avgOverallReview>
    <avgOverallReview>
      <avgRate>3</avgRate>
      <rateNo>1</rateNo>
      <rateText>sample string 2</rateText>
    </avgOverallReview>
  </AvgOverallReview>
  <AvgRating>sample string 8</AvgRating>
  <AvgRatingFloat>sample string 9</AvgRatingFloat>
  <BusinessId>1</BusinessId>
  <Err>10</Err>
  <OverallReview>
    <overallReview>
      <ContentId>10</ContentId>
      <PublisherId>12</PublisherId>
      <PublisherReviewID>11</PublisherReviewID>
      <Rating>1</Rating>
      <RatingFloat>sample string 2</RatingFloat>
      <Review>sample string 6</Review>
      <ReviewDate>sample string 7</ReviewDate>
      <ReviewID>13</ReviewID>
      <ReviewUrl>sample string 14</ReviewUrl>
      <UserImgUrl>sample string 4</UserImgUrl>
      <UserName>sample string 3</UserName>
      <UserProfileUrl>sample string 5</UserProfileUrl>
      <fullEmptyRate xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </fullEmptyRate>
      <isGlobal>9</isGlobal>
      <serviceName>sample string 8</serviceName>
    </overallReview>
    <overallReview>
      <ContentId>10</ContentId>
      <PublisherId>12</PublisherId>
      <PublisherReviewID>11</PublisherReviewID>
      <Rating>1</Rating>
      <RatingFloat>sample string 2</RatingFloat>
      <Review>sample string 6</Review>
      <ReviewDate>sample string 7</ReviewDate>
      <ReviewID>13</ReviewID>
      <ReviewUrl>sample string 14</ReviewUrl>
      <UserImgUrl>sample string 4</UserImgUrl>
      <UserName>sample string 3</UserName>
      <UserProfileUrl>sample string 5</UserProfileUrl>
      <fullEmptyRate xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </fullEmptyRate>
      <isGlobal>9</isGlobal>
      <serviceName>sample string 8</serviceName>
    </overallReview>
  </OverallReview>
  <PublisherID>11</PublisherID>
  <RatingCount>7</RatingCount>
  <ReviewsInfo>
    <ReviewInfo>
      <BusinessId>3</BusinessId>
      <ContentId>1</ContentId>
      <Createddate>sample string 5</Createddate>
      <FBUserName>sample string 7</FBUserName>
      <FBUserPhoto>sample string 8</FBUserPhoto>
      <IsUserReply>10</IsUserReply>
      <Reply>sample string 4</Reply>
      <ReviewID>2</ReviewID>
      <facebookCommentID>sample string 9</facebookCommentID>
      <facebookReplyID>sample string 6</facebookReplyID>
    </ReviewInfo>
    <ReviewInfo>
      <BusinessId>3</BusinessId>
      <ContentId>1</ContentId>
      <Createddate>sample string 5</Createddate>
      <FBUserName>sample string 7</FBUserName>
      <FBUserPhoto>sample string 8</FBUserPhoto>
      <IsUserReply>10</IsUserReply>
      <Reply>sample string 4</Reply>
      <ReviewID>2</ReviewID>
      <facebookCommentID>sample string 9</facebookCommentID>
      <facebookReplyID>sample string 6</facebookReplyID>
    </ReviewInfo>
  </ReviewsInfo>
  <Serviceid>3</Serviceid>
  <TotalReviews>6</TotalReviews>
  <UserId>2</UserId>
  <fullEmptyRate xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </fullEmptyRate>
  <pageNo>4</pageNo>
  <rowPerPage>5</rowPerPage>
</ReviewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/09/25 23:43:47",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>