POST api/TransferDataSocialNetwork/SaveSocialNotifyTemplateElement

Request Information

URI Parameters

None.

Body Parameters

SendSocialNotifyTemplateElementToAPI
NameDescriptionTypeAdditional information
SocialNotifyTemplateElement

SocialNotifyTemplateElement

None.

SocialNotifyTemplateId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SocialNotifyTemplateElement": {
    "MongoID": "sample string 1",
    "Id": "sample string 2",
    "ObjectSocialNotifyTemplateId": "sample string 3",
    "Name": "sample string 4",
    "TypeAction": "sample string 5",
    "Content": "sample string 6",
    "ActionLink": "sample string 7",
    "CreateDate": "2026-06-14T00:25:55.4878677+07:00",
    "ModifyDate": "2026-06-14T00:25:55.4878677+07:00",
    "CreateUserId": 1,
    "ModifyUserId": 1,
    "ReferenceId": "sample string 8"
  },
  "SocialNotifyTemplateId": "sample string 1"
}

application/xml, text/xml

Sample:
<UserDataObject.SendSocialNotifyTemplateElementToAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <SocialNotifyTemplateElement xmlns:d2p1="http://schemas.datacontract.org/2004/07/EBM.Portal.DAL.Entity">
    <d2p1:ActionLink>sample string 7</d2p1:ActionLink>
    <d2p1:Content>sample string 6</d2p1:Content>
    <d2p1:CreateDate>2026-06-14T00:25:55.4878677+07:00</d2p1:CreateDate>
    <d2p1:CreateUserId>1</d2p1:CreateUserId>
    <d2p1:Id>sample string 2</d2p1:Id>
    <d2p1:ModifyDate>2026-06-14T00:25:55.4878677+07:00</d2p1:ModifyDate>
    <d2p1:ModifyUserId>1</d2p1:ModifyUserId>
    <d2p1:MongoID>sample string 1</d2p1:MongoID>
    <d2p1:Name>sample string 4</d2p1:Name>
    <d2p1:ObjectSocialNotifyTemplateId>sample string 3</d2p1:ObjectSocialNotifyTemplateId>
    <d2p1:ReferenceId>sample string 8</d2p1:ReferenceId>
    <d2p1:TypeAction>sample string 5</d2p1:TypeAction>
  </SocialNotifyTemplateElement>
  <SocialNotifyTemplateId>sample string 1</SocialNotifyTemplateId>
</UserDataObject.SendSocialNotifyTemplateElementToAPI>

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 'SendSocialNotifyTemplateElementToAPI'.

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/" />