GET api/Review/GetAllReviews

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Review
NameDescriptionTypeAdditional information
Id

integer

None.

ProductId

integer

None.

Product

string

None.

UserId

integer

None.

Date

string

None.

FirstName

string

None.

LastName

string

None.

Comment

string

None.

Email

string

None.

Status

string

None.

CreatedBy

string

None.

CreatedDate

string

None.

UpdatedBy

string

None.

UpdatedDate

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ProductId": 2,
    "Product": "sample string 3",
    "UserId": 4,
    "Date": "sample string 5",
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "Comment": "sample string 8",
    "Email": "sample string 9",
    "Status": "sample string 10",
    "CreatedBy": "sample string 11",
    "CreatedDate": "sample string 12",
    "UpdatedBy": "sample string 13",
    "UpdatedDate": "sample string 14"
  },
  {
    "Id": 1,
    "ProductId": 2,
    "Product": "sample string 3",
    "UserId": 4,
    "Date": "sample string 5",
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "Comment": "sample string 8",
    "Email": "sample string 9",
    "Status": "sample string 10",
    "CreatedBy": "sample string 11",
    "CreatedDate": "sample string 12",
    "UpdatedBy": "sample string 13",
    "UpdatedDate": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models">
  <Review>
    <Comment>sample string 8</Comment>
    <CreatedBy>sample string 11</CreatedBy>
    <CreatedDate>sample string 12</CreatedDate>
    <Date>sample string 5</Date>
    <Email>sample string 9</Email>
    <FirstName>sample string 6</FirstName>
    <Id>1</Id>
    <LastName>sample string 7</LastName>
    <Product>sample string 3</Product>
    <ProductId>2</ProductId>
    <Status>sample string 10</Status>
    <UpdatedBy>sample string 13</UpdatedBy>
    <UpdatedDate>sample string 14</UpdatedDate>
    <UserId>4</UserId>
  </Review>
  <Review>
    <Comment>sample string 8</Comment>
    <CreatedBy>sample string 11</CreatedBy>
    <CreatedDate>sample string 12</CreatedDate>
    <Date>sample string 5</Date>
    <Email>sample string 9</Email>
    <FirstName>sample string 6</FirstName>
    <Id>1</Id>
    <LastName>sample string 7</LastName>
    <Product>sample string 3</Product>
    <ProductId>2</ProductId>
    <Status>sample string 10</Status>
    <UpdatedBy>sample string 13</UpdatedBy>
    <UpdatedDate>sample string 14</UpdatedDate>
    <UserId>4</UserId>
  </Review>
</ArrayOfReview>