POST api/Social/AutoSaveCommentFacebook

Request Information

URI Parameters

None.

Body Parameters

ModelAction
NameDescriptionTypeAdditional information
SocialPostId

integer

None.

ObjectSocialPostId

string

None.

ContentComment

string

None.

ContentPost

string

None.

TypeSocialAction

string

None.

CenterId

integer

None.

UserSocialId

string

None.

LevelOfConcernId

integer

None.

KindOfCourseId

integer

None.

SocialActionId

string

None.

LastName

string

None.

CreateDate

date

None.

FanpageId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SocialPostId": 1,
  "ObjectSocialPostId": "sample string 2",
  "ContentComment": "sample string 3",
  "ContentPost": "sample string 4",
  "TypeSocialAction": "sample string 5",
  "CenterId": 6,
  "UserSocialId": "sample string 7",
  "LevelOfConcernId": 8,
  "KindOfCourseId": 9,
  "SocialActionId": "sample string 10",
  "LastName": "sample string 11",
  "CreateDate": "2026-06-15T16:39:09.3170164+07:00",
  "FanpageId": "sample string 12"
}

application/xml, text/xml

Sample:
<FacebookModel.ModelAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <CenterId>6</CenterId>
  <ContentComment>sample string 3</ContentComment>
  <ContentPost>sample string 4</ContentPost>
  <CreateDate>2026-06-15T16:39:09.3170164+07:00</CreateDate>
  <FanpageId>sample string 12</FanpageId>
  <KindOfCourseId>9</KindOfCourseId>
  <LastName>sample string 11</LastName>
  <LevelOfConcernId>8</LevelOfConcernId>
  <ObjectSocialPostId>sample string 2</ObjectSocialPostId>
  <SocialActionId>sample string 10</SocialActionId>
  <SocialPostId>1</SocialPostId>
  <TypeSocialAction>sample string 5</TypeSocialAction>
  <UserSocialId>sample string 7</UserSocialId>
</FacebookModel.ModelAction>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ModelAction'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />