PUT api/Content/v2/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": "41401407-e9d9-45cf-b4ea-4633377bb9b6",
  "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>41401407-e9d9-45cf-b4ea-4633377bb9b6</UniqueId>
  <UserUniqueId>3</UserUniqueId>
</APIGetCommentsForCheckInRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIGetCommentsForCheckInResponse
NameDescriptionTypeAdditional information
TotalRecords

integer

None.

List

Collection of APIComments

None.

Response Formats

application/json, text/json

Sample:
{
  "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:
<APIGetCommentsForCheckInResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <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>
</APIGetCommentsForCheckInResponse>