POST api/MigrateData/MigrateSocialNetworkCampain

Request Information

URI Parameters

None.

Body Parameters

MigrateSocialNetworkCampain
NameDescriptionTypeAdditional information
SocialNetworkCampains

Collection of SocialNetworkCampain

None.

Request Formats

application/json, text/json

Sample:
{
  "SocialNetworkCampains": [
    {
      "MongoID": "sample string 1",
      "Id": 2,
      "CenterId": 1,
      "SocialNotifyId": 1,
      "ObjectSocialNotifyId": "sample string 3",
      "Name": "sample string 4",
      "Content": "sample string 5",
      "NumberSending": 1,
      "NumberSeen": 1,
      "NumberReply": 1,
      "DateSchedule": "2026-06-13T22:55:46.8111354+07:00",
      "CreateDate": "2026-06-13T22:55:46.8111354+07:00",
      "ModifyDate": "2026-06-13T22:55:46.8111354+07:00",
      "CreateUserId": 1,
      "ModifyUserId": 1,
      "ReferenceId": "sample string 6",
      "ObjectMessagesTeamplateSchedulerID": "sample string 7",
      "Type": "sample string 8",
      "TotalRow": 9
    },
    {
      "MongoID": "sample string 1",
      "Id": 2,
      "CenterId": 1,
      "SocialNotifyId": 1,
      "ObjectSocialNotifyId": "sample string 3",
      "Name": "sample string 4",
      "Content": "sample string 5",
      "NumberSending": 1,
      "NumberSeen": 1,
      "NumberReply": 1,
      "DateSchedule": "2026-06-13T22:55:46.8111354+07:00",
      "CreateDate": "2026-06-13T22:55:46.8111354+07:00",
      "ModifyDate": "2026-06-13T22:55:46.8111354+07:00",
      "CreateUserId": 1,
      "ModifyUserId": 1,
      "ReferenceId": "sample string 6",
      "ObjectMessagesTeamplateSchedulerID": "sample string 7",
      "Type": "sample string 8",
      "TotalRow": 9
    }
  ]
}

application/xml, text/xml

Sample:
<UserDataObject.MigrateSocialNetworkCampain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <SocialNetworkCampains xmlns:d2p1="http://schemas.datacontract.org/2004/07/EBM.Portal.DAL.Entity">
    <d2p1:SocialNetworkCampain>
      <d2p1:CenterId>1</d2p1:CenterId>
      <d2p1:Content>sample string 5</d2p1:Content>
      <d2p1:CreateDate>2026-06-13T22:55:46.8111354+07:00</d2p1:CreateDate>
      <d2p1:CreateUserId>1</d2p1:CreateUserId>
      <d2p1:DateSchedule>2026-06-13T22:55:46.8111354+07:00</d2p1:DateSchedule>
      <d2p1:Id>2</d2p1:Id>
      <d2p1:ModifyDate>2026-06-13T22:55:46.8111354+07:00</d2p1:ModifyDate>
      <d2p1:ModifyUserId>1</d2p1:ModifyUserId>
      <d2p1:MongoID>sample string 1</d2p1:MongoID>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:NumberReply>1</d2p1:NumberReply>
      <d2p1:NumberSeen>1</d2p1:NumberSeen>
      <d2p1:NumberSending>1</d2p1:NumberSending>
      <d2p1:ObjectMessagesTeamplateSchedulerID>sample string 7</d2p1:ObjectMessagesTeamplateSchedulerID>
      <d2p1:ObjectSocialNotifyId>sample string 3</d2p1:ObjectSocialNotifyId>
      <d2p1:ReferenceId>sample string 6</d2p1:ReferenceId>
      <d2p1:SocialNotifyId>1</d2p1:SocialNotifyId>
      <d2p1:TotalRow>9</d2p1:TotalRow>
      <d2p1:Type>sample string 8</d2p1:Type>
    </d2p1:SocialNetworkCampain>
    <d2p1:SocialNetworkCampain>
      <d2p1:CenterId>1</d2p1:CenterId>
      <d2p1:Content>sample string 5</d2p1:Content>
      <d2p1:CreateDate>2026-06-13T22:55:46.8111354+07:00</d2p1:CreateDate>
      <d2p1:CreateUserId>1</d2p1:CreateUserId>
      <d2p1:DateSchedule>2026-06-13T22:55:46.8111354+07:00</d2p1:DateSchedule>
      <d2p1:Id>2</d2p1:Id>
      <d2p1:ModifyDate>2026-06-13T22:55:46.8111354+07:00</d2p1:ModifyDate>
      <d2p1:ModifyUserId>1</d2p1:ModifyUserId>
      <d2p1:MongoID>sample string 1</d2p1:MongoID>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:NumberReply>1</d2p1:NumberReply>
      <d2p1:NumberSeen>1</d2p1:NumberSeen>
      <d2p1:NumberSending>1</d2p1:NumberSending>
      <d2p1:ObjectMessagesTeamplateSchedulerID>sample string 7</d2p1:ObjectMessagesTeamplateSchedulerID>
      <d2p1:ObjectSocialNotifyId>sample string 3</d2p1:ObjectSocialNotifyId>
      <d2p1:ReferenceId>sample string 6</d2p1:ReferenceId>
      <d2p1:SocialNotifyId>1</d2p1:SocialNotifyId>
      <d2p1:TotalRow>9</d2p1:TotalRow>
      <d2p1:Type>sample string 8</d2p1:Type>
    </d2p1:SocialNetworkCampain>
  </SocialNetworkCampains>
</UserDataObject.MigrateSocialNetworkCampain>

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

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