POST api/Feedback

Returns saved feedback object with mandatory filled in details from server

Request Information

URI Parameters

None.

Body Parameters

Feedback obejct containing minimum feedback details to be saved

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.

Request 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": "2021-06-24T02:21:23.6623454-06:00",
  "modifiedDate": "2021-06-24T02:21:23.6623454-06: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:
<Feedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <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>2021-06-24T02:21:23.6623454-06: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>2021-06-24T02:21:23.6623454-06: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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns

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": "2021-06-24T02:21:23.6843457-06:00",
  "modifiedDate": "2021-06-24T02:21:23.6843457-06: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:
<Feedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <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>2021-06-24T02:21:23.6843457-06: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>2021-06-24T02:21:23.6843457-06: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>