GET api/feedback/{clientId}?startDate={startDate}&endDate={endDate}

Returns feedback list against provided client id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

Client Id to get feedback against

integer

Required

startDate

Start date to match feedbacks created on/after date.

date

None.

endDate

End date to match feedbacks created on/before date.

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Feedback
NameDescriptionTypeAdditional information
ReferenceNo

Gets or sets feedback reference no

integer

None.

FeedbackType

Gets or sets feedback type

FeedbackType

None.

Priority

Gets or sets feedback priority

FeedbackPriority

None.

FeedbackTitle

Gets or sets feedback title

string

None.

CurrentState

Gets or sets current feedback state

string

None.

Description

Gets or sets feedback description

string

None.

BookingId

Gets or sets booking id

integer

None.

ClientId

Gets or sets client id

integer

None.

ProviderId

Gets or sets provider id

integer

None.

Comments

Gets or set feedback comments

Collection of FeedbackComments

None.

CreatedDate

Gets or sets feedback created date

date

None.

ModifiedDate

Gets or sets feedback modified date

date

None.

Files

Gets or sets attachment list included with the feedback resource

Collection of Attachment

None.

FeedbackCategory

Gets or sets feedback category

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "referenceNo": 1,
    "feedbackType": {
      "sequence": 1,
      "feedbackTypeId": 1,
      "name": "sample string 2",
      "orgUnitId": 1
    },
    "priority": {
      "sequence": 1,
      "priorityId": 1,
      "name": "sample string 1",
      "orgUnitId": 1
    },
    "feedbackTitle": "sample string 2",
    "currentState": "sample string 3",
    "description": "sample string 4",
    "bookingId": 1,
    "clientId": 1,
    "providerId": 1,
    "comments": [
      {
        "commentId": 1,
        "referenceNo": 1,
        "commentText": "sample string 2"
      },
      {
        "commentId": 1,
        "referenceNo": 1,
        "commentText": "sample string 2"
      }
    ],
    "createdDate": "2024-12-23T12:22:12.5878218-07:00",
    "modifiedDate": "2024-12-23T12:22:12.5878218-07:00",
    "files": [
      {
        "fileId": 1,
        "name": "sample string 2",
        "fileType": "sample string 3",
        "fileSize": 1,
        "fileData": "sample string 4",
        "description": "sample string 5",
        "fileMark": 0
      },
      {
        "fileId": 1,
        "name": "sample string 2",
        "fileType": "sample string 3",
        "fileSize": 1,
        "fileData": "sample string 4",
        "description": "sample string 5",
        "fileMark": 0
      }
    ],
    "feedbackCategory": "sample string 5"
  },
  {
    "referenceNo": 1,
    "feedbackType": {
      "sequence": 1,
      "feedbackTypeId": 1,
      "name": "sample string 2",
      "orgUnitId": 1
    },
    "priority": {
      "sequence": 1,
      "priorityId": 1,
      "name": "sample string 1",
      "orgUnitId": 1
    },
    "feedbackTitle": "sample string 2",
    "currentState": "sample string 3",
    "description": "sample string 4",
    "bookingId": 1,
    "clientId": 1,
    "providerId": 1,
    "comments": [
      {
        "commentId": 1,
        "referenceNo": 1,
        "commentText": "sample string 2"
      },
      {
        "commentId": 1,
        "referenceNo": 1,
        "commentText": "sample string 2"
      }
    ],
    "createdDate": "2024-12-23T12:22:12.5878218-07:00",
    "modifiedDate": "2024-12-23T12:22:12.5878218-07:00",
    "files": [
      {
        "fileId": 1,
        "name": "sample string 2",
        "fileType": "sample string 3",
        "fileSize": 1,
        "fileData": "sample string 4",
        "description": "sample string 5",
        "fileMark": 0
      },
      {
        "fileId": 1,
        "name": "sample string 2",
        "fileType": "sample string 3",
        "fileSize": 1,
        "fileData": "sample string 4",
        "description": "sample string 5",
        "fileMark": 0
      }
    ],
    "feedbackCategory": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFeedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <Feedback>
    <BookingId>1</BookingId>
    <ClientId>1</ClientId>
    <Comments>
      <FeedbackComments>
        <CommentId>1</CommentId>
        <CommentText>sample string 2</CommentText>
        <ReferenceNo>1</ReferenceNo>
      </FeedbackComments>
      <FeedbackComments>
        <CommentId>1</CommentId>
        <CommentText>sample string 2</CommentText>
        <ReferenceNo>1</ReferenceNo>
      </FeedbackComments>
    </Comments>
    <CreatedDate>2024-12-23T12:22:12.5878218-07:00</CreatedDate>
    <CurrentState>sample string 3</CurrentState>
    <Description>sample string 4</Description>
    <FeedbackCategory>sample string 5</FeedbackCategory>
    <FeedbackTitle>sample string 2</FeedbackTitle>
    <FeedbackType>
      <FeedbackTypeId>1</FeedbackTypeId>
      <Name>sample string 2</Name>
      <OrgUnitId>1</OrgUnitId>
      <Sequence>1</Sequence>
    </FeedbackType>
    <Files>
      <Attachment>
        <Description>sample string 5</Description>
        <FileData>sample string 4</FileData>
        <FileId>1</FileId>
        <FileMark>MarkedAsOriginal</FileMark>
        <FileSize>1</FileSize>
        <FileType>sample string 3</FileType>
        <Name>sample string 2</Name>
      </Attachment>
      <Attachment>
        <Description>sample string 5</Description>
        <FileData>sample string 4</FileData>
        <FileId>1</FileId>
        <FileMark>MarkedAsOriginal</FileMark>
        <FileSize>1</FileSize>
        <FileType>sample string 3</FileType>
        <Name>sample string 2</Name>
      </Attachment>
    </Files>
    <ModifiedDate>2024-12-23T12:22:12.5878218-07:00</ModifiedDate>
    <Priority>
      <Name>sample string 1</Name>
      <OrgUnitId>1</OrgUnitId>
      <PriorityId>1</PriorityId>
      <Sequence>1</Sequence>
    </Priority>
    <ProviderId>1</ProviderId>
    <ReferenceNo>1</ReferenceNo>
  </Feedback>
  <Feedback>
    <BookingId>1</BookingId>
    <ClientId>1</ClientId>
    <Comments>
      <FeedbackComments>
        <CommentId>1</CommentId>
        <CommentText>sample string 2</CommentText>
        <ReferenceNo>1</ReferenceNo>
      </FeedbackComments>
      <FeedbackComments>
        <CommentId>1</CommentId>
        <CommentText>sample string 2</CommentText>
        <ReferenceNo>1</ReferenceNo>
      </FeedbackComments>
    </Comments>
    <CreatedDate>2024-12-23T12:22:12.5878218-07:00</CreatedDate>
    <CurrentState>sample string 3</CurrentState>
    <Description>sample string 4</Description>
    <FeedbackCategory>sample string 5</FeedbackCategory>
    <FeedbackTitle>sample string 2</FeedbackTitle>
    <FeedbackType>
      <FeedbackTypeId>1</FeedbackTypeId>
      <Name>sample string 2</Name>
      <OrgUnitId>1</OrgUnitId>
      <Sequence>1</Sequence>
    </FeedbackType>
    <Files>
      <Attachment>
        <Description>sample string 5</Description>
        <FileData>sample string 4</FileData>
        <FileId>1</FileId>
        <FileMark>MarkedAsOriginal</FileMark>
        <FileSize>1</FileSize>
        <FileType>sample string 3</FileType>
        <Name>sample string 2</Name>
      </Attachment>
      <Attachment>
        <Description>sample string 5</Description>
        <FileData>sample string 4</FileData>
        <FileId>1</FileId>
        <FileMark>MarkedAsOriginal</FileMark>
        <FileSize>1</FileSize>
        <FileType>sample string 3</FileType>
        <Name>sample string 2</Name>
      </Attachment>
    </Files>
    <ModifiedDate>2024-12-23T12:22:12.5878218-07:00</ModifiedDate>
    <Priority>
      <Name>sample string 1</Name>
      <OrgUnitId>1</OrgUnitId>
      <PriorityId>1</PriorityId>
      <Sequence>1</Sequence>
    </Priority>
    <ProviderId>1</ProviderId>
    <ReferenceNo>1</ReferenceNo>
  </Feedback>
</ArrayOfFeedback>