POST api/MigrateData/MigrateStudentPortalComment
Request Information
URI Parameters
None.
Body Parameters
MigrateStudentPortalComment| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentPortalComments | Collection of StudentPortalComment |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentPortalComments": [
{
"MongoID": "sample string 1",
"Id": 2,
"StudentPortalPostId": 1,
"ObjectStudentPortalPostId": "sample string 3",
"Content": "sample string 4",
"LastName": "sample string 5",
"Email": "sample string 6",
"Phone": "sample string 7",
"UserInfoId": 1,
"IsActive": true,
"IsDelete": true,
"SocialNetworkId": 1,
"ObjectSocialNetworkId": "sample string 9",
"UserSocialId": "sample string 10",
"CreateDate": "2026-06-14T00:28:49.2645853+07:00",
"ModifyDate": "2026-06-14T00:28:49.2645853+07:00",
"CreateUserId": 1,
"ModifyUserId": 1,
"SocialCommentId": "sample string 11",
"ParentId": 1,
"ObjectParentId": "sample string 12",
"IsReply": true,
"IsSendMessage": true,
"ParentSocialComment": "sample string 13",
"ReferenceId": "sample string 14",
"TotalRow": 1,
"TotalCommentChild": 15,
"ImageUrl": "sample string 16"
},
{
"MongoID": "sample string 1",
"Id": 2,
"StudentPortalPostId": 1,
"ObjectStudentPortalPostId": "sample string 3",
"Content": "sample string 4",
"LastName": "sample string 5",
"Email": "sample string 6",
"Phone": "sample string 7",
"UserInfoId": 1,
"IsActive": true,
"IsDelete": true,
"SocialNetworkId": 1,
"ObjectSocialNetworkId": "sample string 9",
"UserSocialId": "sample string 10",
"CreateDate": "2026-06-14T00:28:49.2645853+07:00",
"ModifyDate": "2026-06-14T00:28:49.2645853+07:00",
"CreateUserId": 1,
"ModifyUserId": 1,
"SocialCommentId": "sample string 11",
"ParentId": 1,
"ObjectParentId": "sample string 12",
"IsReply": true,
"IsSendMessage": true,
"ParentSocialComment": "sample string 13",
"ReferenceId": "sample string 14",
"TotalRow": 1,
"TotalCommentChild": 15,
"ImageUrl": "sample string 16"
}
]
}
application/xml, text/xml
Sample:
<UserDataObject.MigrateStudentPortalComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
<StudentPortalComments xmlns:d2p1="http://schemas.datacontract.org/2004/07/EBM.Portal.DAL.Entity">
<d2p1:StudentPortalComment>
<d2p1:Content>sample string 4</d2p1:Content>
<d2p1:CreateDate>2026-06-14T00:28:49.2645853+07:00</d2p1:CreateDate>
<d2p1:CreateUserId>1</d2p1:CreateUserId>
<d2p1:Email>sample string 6</d2p1:Email>
<d2p1:Id>2</d2p1:Id>
<d2p1:ImageUrl>sample string 16</d2p1:ImageUrl>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d2p1:IsReply>true</d2p1:IsReply>
<d2p1:IsSendMessage>true</d2p1:IsSendMessage>
<d2p1:LastName>sample string 5</d2p1:LastName>
<d2p1:ModifyDate>2026-06-14T00:28:49.2645853+07:00</d2p1:ModifyDate>
<d2p1:ModifyUserId>1</d2p1:ModifyUserId>
<d2p1:MongoID>sample string 1</d2p1:MongoID>
<d2p1:ObjectParentId>sample string 12</d2p1:ObjectParentId>
<d2p1:ObjectSocialNetworkId>sample string 9</d2p1:ObjectSocialNetworkId>
<d2p1:ObjectStudentPortalPostId>sample string 3</d2p1:ObjectStudentPortalPostId>
<d2p1:ParentId>1</d2p1:ParentId>
<d2p1:ParentSocialComment>sample string 13</d2p1:ParentSocialComment>
<d2p1:Phone>sample string 7</d2p1:Phone>
<d2p1:ReferenceId>sample string 14</d2p1:ReferenceId>
<d2p1:SocialCommentId>sample string 11</d2p1:SocialCommentId>
<d2p1:SocialNetworkId>1</d2p1:SocialNetworkId>
<d2p1:StudentPortalPostId>1</d2p1:StudentPortalPostId>
<d2p1:TotalCommentChild>15</d2p1:TotalCommentChild>
<d2p1:TotalRow>1</d2p1:TotalRow>
<d2p1:UserInfoId>1</d2p1:UserInfoId>
<d2p1:UserSocialId>sample string 10</d2p1:UserSocialId>
</d2p1:StudentPortalComment>
<d2p1:StudentPortalComment>
<d2p1:Content>sample string 4</d2p1:Content>
<d2p1:CreateDate>2026-06-14T00:28:49.2645853+07:00</d2p1:CreateDate>
<d2p1:CreateUserId>1</d2p1:CreateUserId>
<d2p1:Email>sample string 6</d2p1:Email>
<d2p1:Id>2</d2p1:Id>
<d2p1:ImageUrl>sample string 16</d2p1:ImageUrl>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsDelete>true</d2p1:IsDelete>
<d2p1:IsReply>true</d2p1:IsReply>
<d2p1:IsSendMessage>true</d2p1:IsSendMessage>
<d2p1:LastName>sample string 5</d2p1:LastName>
<d2p1:ModifyDate>2026-06-14T00:28:49.2645853+07:00</d2p1:ModifyDate>
<d2p1:ModifyUserId>1</d2p1:ModifyUserId>
<d2p1:MongoID>sample string 1</d2p1:MongoID>
<d2p1:ObjectParentId>sample string 12</d2p1:ObjectParentId>
<d2p1:ObjectSocialNetworkId>sample string 9</d2p1:ObjectSocialNetworkId>
<d2p1:ObjectStudentPortalPostId>sample string 3</d2p1:ObjectStudentPortalPostId>
<d2p1:ParentId>1</d2p1:ParentId>
<d2p1:ParentSocialComment>sample string 13</d2p1:ParentSocialComment>
<d2p1:Phone>sample string 7</d2p1:Phone>
<d2p1:ReferenceId>sample string 14</d2p1:ReferenceId>
<d2p1:SocialCommentId>sample string 11</d2p1:SocialCommentId>
<d2p1:SocialNetworkId>1</d2p1:SocialNetworkId>
<d2p1:StudentPortalPostId>1</d2p1:StudentPortalPostId>
<d2p1:TotalCommentChild>15</d2p1:TotalCommentChild>
<d2p1:TotalRow>1</d2p1:TotalRow>
<d2p1:UserInfoId>1</d2p1:UserInfoId>
<d2p1:UserSocialId>sample string 10</d2p1:UserSocialId>
</d2p1:StudentPortalComment>
</StudentPortalComments>
</UserDataObject.MigrateStudentPortalComment>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
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/" />