POST api/MigrateData/MigrateMessagesAutoReply

Request Information

URI Parameters

None.

Body Parameters

MigrateMessagesAutoReply
NameDescriptionTypeAdditional information
MessageAutoReplies

Collection of MessageAutoReply

None.

Request Formats

application/json, text/json

Sample:
{
  "MessageAutoReplies": [
    {
      "MongoID": "sample string 1",
      "Id": 2,
      "SocialNetworkId": 1,
      "ObjectSocialNetworkId": "sample string 3",
      "Type": "sample string 4",
      "SocialNotifyId": 5,
      "ObjectSocialNotifyId": "sample string 6",
      "CreateDate": "2026-06-14T00:25:54.9979363+07:00",
      "ModifyDate": "2026-06-14T00:25:54.9979363+07:00",
      "CreateUserId": 1,
      "ModifyUserId": 1,
      "ReferenceId": "sample string 7"
    },
    {
      "MongoID": "sample string 1",
      "Id": 2,
      "SocialNetworkId": 1,
      "ObjectSocialNetworkId": "sample string 3",
      "Type": "sample string 4",
      "SocialNotifyId": 5,
      "ObjectSocialNotifyId": "sample string 6",
      "CreateDate": "2026-06-14T00:25:54.9979363+07:00",
      "ModifyDate": "2026-06-14T00:25:54.9979363+07:00",
      "CreateUserId": 1,
      "ModifyUserId": 1,
      "ReferenceId": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<UserDataObject.MigrateMessagesAutoReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <MessageAutoReplies xmlns:d2p1="http://schemas.datacontract.org/2004/07/EBM.Portal.DAL.Entity">
    <d2p1:MessageAutoReply>
      <d2p1:CreateDate>2026-06-14T00:25:54.9979363+07:00</d2p1:CreateDate>
      <d2p1:CreateUserId>1</d2p1:CreateUserId>
      <d2p1:Id>2</d2p1:Id>
      <d2p1:ModifyDate>2026-06-14T00:25:54.9979363+07:00</d2p1:ModifyDate>
      <d2p1:ModifyUserId>1</d2p1:ModifyUserId>
      <d2p1:MongoID>sample string 1</d2p1:MongoID>
      <d2p1:ObjectSocialNetworkId>sample string 3</d2p1:ObjectSocialNetworkId>
      <d2p1:ObjectSocialNotifyId>sample string 6</d2p1:ObjectSocialNotifyId>
      <d2p1:ReferenceId>sample string 7</d2p1:ReferenceId>
      <d2p1:SocialNetworkId>1</d2p1:SocialNetworkId>
      <d2p1:SocialNotifyId>5</d2p1:SocialNotifyId>
      <d2p1:Type>sample string 4</d2p1:Type>
    </d2p1:MessageAutoReply>
    <d2p1:MessageAutoReply>
      <d2p1:CreateDate>2026-06-14T00:25:54.9979363+07:00</d2p1:CreateDate>
      <d2p1:CreateUserId>1</d2p1:CreateUserId>
      <d2p1:Id>2</d2p1:Id>
      <d2p1:ModifyDate>2026-06-14T00:25:54.9979363+07:00</d2p1:ModifyDate>
      <d2p1:ModifyUserId>1</d2p1:ModifyUserId>
      <d2p1:MongoID>sample string 1</d2p1:MongoID>
      <d2p1:ObjectSocialNetworkId>sample string 3</d2p1:ObjectSocialNetworkId>
      <d2p1:ObjectSocialNotifyId>sample string 6</d2p1:ObjectSocialNotifyId>
      <d2p1:ReferenceId>sample string 7</d2p1:ReferenceId>
      <d2p1:SocialNetworkId>1</d2p1:SocialNetworkId>
      <d2p1:SocialNotifyId>5</d2p1:SocialNotifyId>
      <d2p1:Type>sample string 4</d2p1:Type>
    </d2p1:MessageAutoReply>
  </MessageAutoReplies>
</UserDataObject.MigrateMessagesAutoReply>

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

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