PUT api/Content/v3/AddCheckinComment

Request Information

URI Parameters

None.

Body Parameters

APICheckInComment
NameDescriptionTypeAdditional information
UserUniqueId

integer

None.

CustomerId

integer

None.

UniqueId

globally unique identifier

None.

Comment

string

None.

CheckinHistoryId

integer

None.

CheckinCommentId

integer

None.

ParentCommentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserUniqueId": 1,
  "CustomerId": 2,
  "UniqueId": "b82431f5-5e1c-4bb3-b8ee-0f06d0af3461",
  "Comment": "sample string 4",
  "CheckinHistoryId": 5,
  "CheckinCommentId": 6,
  "ParentCommentId": 7
}

application/xml, text/xml

Sample:
<APICheckInComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <CheckinCommentId>6</CheckinCommentId>
  <CheckinHistoryId>5</CheckinHistoryId>
  <Comment>sample string 4</Comment>
  <CustomerId>2</CustomerId>
  <ParentCommentId>7</ParentCommentId>
  <UniqueId>b82431f5-5e1c-4bb3-b8ee-0f06d0af3461</UniqueId>
  <UserUniqueId>1</UserUniqueId>
</APICheckInComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIComments
NameDescriptionTypeAdditional information
Id

integer

None.

ContactId

integer

None.

Comment

string

None.

IsToasted

boolean

None.

CreatedDate

integer

None.

Contacts

APIDeviceUsers

None.

ChildComments

Collection of APIChildComments

None.

AllowUpdate

boolean

None.

Response Formats

application/json, text/json

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