POST api/v1.0/Blogs/RecommendBlog?blogKey={blogKey}

Adds a recommendation for the specified Blog.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
blogKey

BlogKey for the Blog to recommend.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Details about the Recommendation.

BlogRating
NameDescriptionTypeAdditional information
DocumentKey

globally unique identifier

None.

RatingMode

string

None.

RatedByContact

ContactConcise

None.

RatingValue

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "DocumentKey": "253dc0e5-6125-4df0-bad2-766e7c3b6d50",
  "RatingMode": "sample string 2",
  "RatedByContact": {
    "LinkToProfile": "sample string 1",
    "PictureUrl": "sample string 2",
    "ContactKey": "82fa2df7-7030-4322-8f32-67cb7baca366",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "DisplayName": "sample string 6",
    "EmailAddress": "sample string 7",
    "ContactStatusCode": "sample string 8",
    "PrefixCode": "sample string 9",
    "UpdatedOn": "2024-12-14T13:54:25.1602122Z",
    "UpdatedByContactKey": "396f7677-7c46-4638-97ae-c00fd0e1fe6b",
    "CompanyName": "sample string 12",
    "CompanyTitle": "sample string 13",
    "SuffixCode": "sample string 14",
    "Designation": "sample string 15",
    "LegacyContactKey": "sample string 16",
    "InformalName": "sample string 17",
    "MiddleName": "sample string 18",
    "IsCompany": true,
    "CompanyLegacyContactKey": "sample string 20",
    "AMSDirectoryOptOut": true,
    "HLDirectoryOptOut": true,
    "HLContactMeOptOut": true,
    "LargePictureUrl": "sample string 24",
    "AgreedToTermsDateTime": "2024-12-14T13:54:25.1602122Z"
  },
  "RatingValue": 3.0
}

application/xml, text/xml

Sample:
<BlogRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise">
  <DocumentKey>253dc0e5-6125-4df0-bad2-766e7c3b6d50</DocumentKey>
  <RatedByContact>
    <AMSDirectoryOptOut>true</AMSDirectoryOptOut>
    <AgreedToTermsDateTime>2024-12-14T08:54:25.1602122-05:00</AgreedToTermsDateTime>
    <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
    <CompanyName>sample string 12</CompanyName>
    <CompanyTitle>sample string 13</CompanyTitle>
    <ContactKey>82fa2df7-7030-4322-8f32-67cb7baca366</ContactKey>
    <ContactStatusCode>sample string 8</ContactStatusCode>
    <Designation>sample string 15</Designation>
    <DisplayName>sample string 6</DisplayName>
    <EmailAddress>sample string 7</EmailAddress>
    <FirstName>sample string 4</FirstName>
    <HLContactMeOptOut>true</HLContactMeOptOut>
    <HLDirectoryOptOut>true</HLDirectoryOptOut>
    <InformalName>sample string 17</InformalName>
    <IsCompany>true</IsCompany>
    <LargePictureUrl>sample string 24</LargePictureUrl>
    <LastName>sample string 5</LastName>
    <LegacyContactKey>sample string 16</LegacyContactKey>
    <LinkToProfile>sample string 1</LinkToProfile>
    <MiddleName>sample string 18</MiddleName>
    <PictureUrl>sample string 2</PictureUrl>
    <PrefixCode>sample string 9</PrefixCode>
    <SuffixCode>sample string 14</SuffixCode>
    <UpdatedByContactKey>396f7677-7c46-4638-97ae-c00fd0e1fe6b</UpdatedByContactKey>
    <UpdatedOn>2024-12-14T08:54:25.1602122-05:00</UpdatedOn>
  </RatedByContact>
  <RatingMode>sample string 2</RatingMode>
  <RatingValue>3</RatingValue>
</BlogRating>