POST api/TransferDataSocialNetwork/SaveSocialNotify

Request Information

URI Parameters

None.

Body Parameters

SendSocialNotifyToAPI
NameDescriptionTypeAdditional information
SocialNotify

SocialNotify

None.

Request Formats

application/json, text/json

Sample:
{
  "SocialNotify": {
    "MongoID": "sample string 1",
    "Id": 2,
    "Code": "sample string 3",
    "Name": "sample string 4",
    "Title": "sample string 5",
    "Content": "sample string 6",
    "ImageURL": "sample string 7",
    "ActionLink": "sample string 8",
    "AttachFileURL": "sample string 9",
    "IsDefault": true,
    "SocialTemplateNotifyId": 1,
    "CreateDate": "2026-06-13T22:46:54.0187217+07:00",
    "ModifyDate": "2026-06-13T22:46:54.0187217+07:00",
    "CreateUserId": 1,
    "ModifyUserId": 1,
    "CenterId": 1,
    "SocialNetworkId": 1,
    "ObjectSocialNetworkId": "sample string 10",
    "TypeNotify": "sample string 11",
    "Type": "sample string 12",
    "TypeTemplate": "sample string 13",
    "IsDelete": true,
    "TotalRow": 1,
    "ReferenceId": "sample string 14",
    "ZNSTemplateId": "sample string 15"
  }
}

application/xml, text/xml

Sample:
<UserDataObject.SendSocialNotifyToAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <SocialNotify xmlns:d2p1="http://schemas.datacontract.org/2004/07/EBM.Portal.DAL.Entity">
    <d2p1:ActionLink>sample string 8</d2p1:ActionLink>
    <d2p1:AttachFileURL>sample string 9</d2p1:AttachFileURL>
    <d2p1:CenterId>1</d2p1:CenterId>
    <d2p1:Code>sample string 3</d2p1:Code>
    <d2p1:Content>sample string 6</d2p1:Content>
    <d2p1:CreateDate>2026-06-13T22:46:54.0187217+07:00</d2p1:CreateDate>
    <d2p1:CreateUserId>1</d2p1:CreateUserId>
    <d2p1:Id>2</d2p1:Id>
    <d2p1:ImageURL>sample string 7</d2p1:ImageURL>
    <d2p1:IsDefault>true</d2p1:IsDefault>
    <d2p1:IsDelete>true</d2p1:IsDelete>
    <d2p1:ModifyDate>2026-06-13T22:46:54.0187217+07:00</d2p1:ModifyDate>
    <d2p1:ModifyUserId>1</d2p1:ModifyUserId>
    <d2p1:MongoID>sample string 1</d2p1:MongoID>
    <d2p1:Name>sample string 4</d2p1:Name>
    <d2p1:ObjectSocialNetworkId>sample string 10</d2p1:ObjectSocialNetworkId>
    <d2p1:ReferenceId>sample string 14</d2p1:ReferenceId>
    <d2p1:SocialNetworkId>1</d2p1:SocialNetworkId>
    <d2p1:SocialTemplateNotifyId>1</d2p1:SocialTemplateNotifyId>
    <d2p1:Title>sample string 5</d2p1:Title>
    <d2p1:TotalRow>1</d2p1:TotalRow>
    <d2p1:Type>sample string 12</d2p1:Type>
    <d2p1:TypeNotify>sample string 11</d2p1:TypeNotify>
    <d2p1:TypeTemplate>sample string 13</d2p1:TypeTemplate>
    <d2p1:ZNSTemplateId>sample string 15</d2p1:ZNSTemplateId>
  </SocialNotify>
</UserDataObject.SendSocialNotifyToAPI>

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

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