PUT api/content/v4/getcommentsforcheckinrequest

Request Information

URI Parameters

None.

Body Parameters

APIGetCommentsForCheckInRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UniqueId

globally unique identifier

None.

UserUniqueId

integer

None.

PageNumber

integer

None.

CheckinHistoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UniqueId": "961b1664-d685-4c66-9323-3b5dd3ae88cb",
  "UserUniqueId": 3,
  "PageNumber": 4,
  "CheckinHistoryId": 5
}

application/xml, text/xml

Sample:
<APIGetCommentsForCheckInRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <CheckinHistoryId>5</CheckinHistoryId>
  <CustomerId>1</CustomerId>
  <PageNumber>4</PageNumber>
  <UniqueId>961b1664-d685-4c66-9323-3b5dd3ae88cb</UniqueId>
  <UserUniqueId>3</UserUniqueId>
</APIGetCommentsForCheckInRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfAPIGetCommentsForCheckInResponse
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

APIGetCommentsForCheckInResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {
    "TotalRecords": 1,
    "List": [
      {
        "Id": 1,
        "ContactId": 2,
        "Comment": "sample string 3",
        "IsToasted": true,
        "CreatedDate": 4,
        "Contacts": {
          "Id": 1,
          "FirstName": "sample string 2",
          "LastName": "sample string 3",
          "City": "sample string 4",
          "Email": "sample string 5",
          "CompanyName": "sample string 6",
          "ProfileBase64": "sample string 7",
          "PhotoURL": "sample string 8"
        },
        "ChildComments": [
          {
            "Id": 1,
            "Comment": "sample string 2",
            "IsLike": true,
            "CreatedDate": 3,
            "Contacts": {
              "Id": 1,
              "FirstName": "sample string 2",
              "LastName": "sample string 3",
              "City": "sample string 4",
              "Email": "sample string 5",
              "CompanyName": "sample string 6",
              "ProfileBase64": "sample string 7",
              "PhotoURL": "sample string 8"
            }
          },
          {
            "Id": 1,
            "Comment": "sample string 2",
            "IsLike": true,
            "CreatedDate": 3,
            "Contacts": {
              "Id": 1,
              "FirstName": "sample string 2",
              "LastName": "sample string 3",
              "City": "sample string 4",
              "Email": "sample string 5",
              "CompanyName": "sample string 6",
              "ProfileBase64": "sample string 7",
              "PhotoURL": "sample string 8"
            }
          }
        ],
        "AllowUpdate": true
      },
      {
        "Id": 1,
        "ContactId": 2,
        "Comment": "sample string 3",
        "IsToasted": true,
        "CreatedDate": 4,
        "Contacts": {
          "Id": 1,
          "FirstName": "sample string 2",
          "LastName": "sample string 3",
          "City": "sample string 4",
          "Email": "sample string 5",
          "CompanyName": "sample string 6",
          "ProfileBase64": "sample string 7",
          "PhotoURL": "sample string 8"
        },
        "ChildComments": [
          {
            "Id": 1,
            "Comment": "sample string 2",
            "IsLike": true,
            "CreatedDate": 3,
            "Contacts": {
              "Id": 1,
              "FirstName": "sample string 2",
              "LastName": "sample string 3",
              "City": "sample string 4",
              "Email": "sample string 5",
              "CompanyName": "sample string 6",
              "ProfileBase64": "sample string 7",
              "PhotoURL": "sample string 8"
            }
          },
          {
            "Id": 1,
            "Comment": "sample string 2",
            "IsLike": true,
            "CreatedDate": 3,
            "Contacts": {
              "Id": 1,
              "FirstName": "sample string 2",
              "LastName": "sample string 3",
              "City": "sample string 4",
              "Email": "sample string 5",
              "CompanyName": "sample string 6",
              "ProfileBase64": "sample string 7",
              "PhotoURL": "sample string 8"
            }
          }
        ],
        "AllowUpdate": true
      }
    ]
  }
}

application/xml, text/xml

Sample:
<APICommonWrapperOfAPIGetCommentsForCheckInResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data>
    <List>
      <APIComments>
        <AllowUpdate>true</AllowUpdate>
        <ChildComments>
          <APIChildComments>
            <Comment>sample string 2</Comment>
            <Contacts>
              <City>sample string 4</City>
              <CompanyName>sample string 6</CompanyName>
              <Email>sample string 5</Email>
              <FirstName>sample string 2</FirstName>
              <Id>1</Id>
              <LastName>sample string 3</LastName>
              <PhotoURL>sample string 8</PhotoURL>
              <ProfileBase64>sample string 7</ProfileBase64>
            </Contacts>
            <CreatedDate>3</CreatedDate>
            <Id>1</Id>
            <IsLike>true</IsLike>
          </APIChildComments>
          <APIChildComments>
            <Comment>sample string 2</Comment>
            <Contacts>
              <City>sample string 4</City>
              <CompanyName>sample string 6</CompanyName>
              <Email>sample string 5</Email>
              <FirstName>sample string 2</FirstName>
              <Id>1</Id>
              <LastName>sample string 3</LastName>
              <PhotoURL>sample string 8</PhotoURL>
              <ProfileBase64>sample string 7</ProfileBase64>
            </Contacts>
            <CreatedDate>3</CreatedDate>
            <Id>1</Id>
            <IsLike>true</IsLike>
          </APIChildComments>
        </ChildComments>
        <Comment>sample string 3</Comment>
        <ContactId>2</ContactId>
        <Contacts>
          <City>sample string 4</City>
          <CompanyName>sample string 6</CompanyName>
          <Email>sample string 5</Email>
          <FirstName>sample string 2</FirstName>
          <Id>1</Id>
          <LastName>sample string 3</LastName>
          <PhotoURL>sample string 8</PhotoURL>
          <ProfileBase64>sample string 7</ProfileBase64>
        </Contacts>
        <CreatedDate>4</CreatedDate>
        <Id>1</Id>
        <IsToasted>true</IsToasted>
      </APIComments>
      <APIComments>
        <AllowUpdate>true</AllowUpdate>
        <ChildComments>
          <APIChildComments>
            <Comment>sample string 2</Comment>
            <Contacts>
              <City>sample string 4</City>
              <CompanyName>sample string 6</CompanyName>
              <Email>sample string 5</Email>
              <FirstName>sample string 2</FirstName>
              <Id>1</Id>
              <LastName>sample string 3</LastName>
              <PhotoURL>sample string 8</PhotoURL>
              <ProfileBase64>sample string 7</ProfileBase64>
            </Contacts>
            <CreatedDate>3</CreatedDate>
            <Id>1</Id>
            <IsLike>true</IsLike>
          </APIChildComments>
          <APIChildComments>
            <Comment>sample string 2</Comment>
            <Contacts>
              <City>sample string 4</City>
              <CompanyName>sample string 6</CompanyName>
              <Email>sample string 5</Email>
              <FirstName>sample string 2</FirstName>
              <Id>1</Id>
              <LastName>sample string 3</LastName>
              <PhotoURL>sample string 8</PhotoURL>
              <ProfileBase64>sample string 7</ProfileBase64>
            </Contacts>
            <CreatedDate>3</CreatedDate>
            <Id>1</Id>
            <IsLike>true</IsLike>
          </APIChildComments>
        </ChildComments>
        <Comment>sample string 3</Comment>
        <ContactId>2</ContactId>
        <Contacts>
          <City>sample string 4</City>
          <CompanyName>sample string 6</CompanyName>
          <Email>sample string 5</Email>
          <FirstName>sample string 2</FirstName>
          <Id>1</Id>
          <LastName>sample string 3</LastName>
          <PhotoURL>sample string 8</PhotoURL>
          <ProfileBase64>sample string 7</ProfileBase64>
        </Contacts>
        <CreatedDate>4</CreatedDate>
        <Id>1</Id>
        <IsToasted>true</IsToasted>
      </APIComments>
    </List>
    <TotalRecords>1</TotalRecords>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfAPIGetCommentsForCheckInResponseZdSfSp5S>