POST api/TransferDataSocialNetwork/SaveSocialNotifyTemplate

Request Information

URI Parameters

None.

Body Parameters

SendSocialNotifyTemplateToAPI
NameDescriptionTypeAdditional information
SocialNotifyTemplate

SocialNotifyTemplate

None.

SocialNotifyId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SocialNotifyTemplate": {
    "MongoID": "sample string 1",
    "Id": "sample string 2",
    "ObjectSocialNotifyId": "sample string 3",
    "TypeAction": "sample string 4",
    "Content": "sample string 5",
    "AttachmentURL": "sample string 6",
    "TypeFile": "sample string 7",
    "IsDefault": true,
    "CreateDate": "2026-06-15T16:05:16.5485077+07:00",
    "ModifyDate": "2026-06-15T16:05:16.5485077+07:00",
    "CreateUserId": 1,
    "ModifyUserId": 1,
    "ReferenceId": "sample string 8"
  },
  "SocialNotifyId": "sample string 1"
}

application/xml, text/xml

Sample:
<UserDataObject.SendSocialNotifyTemplateToAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <SocialNotifyId>sample string 1</SocialNotifyId>
  <SocialNotifyTemplate xmlns:d2p1="http://schemas.datacontract.org/2004/07/EBM.Portal.DAL.Entity">
    <d2p1:AttachmentURL>sample string 6</d2p1:AttachmentURL>
    <d2p1:Content>sample string 5</d2p1:Content>
    <d2p1:CreateDate>2026-06-15T16:05:16.5485077+07:00</d2p1:CreateDate>
    <d2p1:CreateUserId>1</d2p1:CreateUserId>
    <d2p1:Id>sample string 2</d2p1:Id>
    <d2p1:IsDefault>true</d2p1:IsDefault>
    <d2p1:ModifyDate>2026-06-15T16:05:16.5485077+07:00</d2p1:ModifyDate>
    <d2p1:ModifyUserId>1</d2p1:ModifyUserId>
    <d2p1:MongoID>sample string 1</d2p1:MongoID>
    <d2p1:ObjectSocialNotifyId>sample string 3</d2p1:ObjectSocialNotifyId>
    <d2p1:ReferenceId>sample string 8</d2p1:ReferenceId>
    <d2p1:TypeAction>sample string 4</d2p1:TypeAction>
    <d2p1:TypeFile>sample string 7</d2p1:TypeFile>
  </SocialNotifyTemplate>
</UserDataObject.SendSocialNotifyTemplateToAPI>

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

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