POST api/BulkOperation/synchronizeStudentTable

Request Information

URI Parameters

None.

Body Parameters

StudentBulkParam
NameDescriptionTypeAdditional information
tableName

string

None.

data

Collection of Student

None.

batchSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tableName": "sample string 1",
  "data": [
    {
      "Id": 1,
      "LastName": "sample string 2",
      "FirstName": "sample string 3",
      "OtherName": "sample string 4",
      "AdmissionNumber": "sample string 5",
      "SchoolAdmitted": "sample string 6",
      "AdmissionClass": "sample string 7",
      "AdmissionSession": "sample string 8",
      "AdmissionTerm": "sample string 9",
      "Email": "sample string 10",
      "Gender": "sample string 11",
      "Address": "sample string 12",
      "PhotoSrc": "sample string 13",
      "DateOfBirth": "2024-12-23T17:08:44.7789656+01:00",
      "Gynotype": "sample string 14",
      "BloodGroup": "sample string 15",
      "Allegies": "sample string 16",
      "OtherMedicalIssues": "sample string 17",
      "ParentGardianName": "sample string 18",
      "ParentGardianAddress": "sample string 19",
      "ParentGardianPhoneNos": "sample string 20",
      "RelationshipType": "sample string 21",
      "UserId": "sample string 22",
      "IsAuthenticated": true
    },
    {
      "Id": 1,
      "LastName": "sample string 2",
      "FirstName": "sample string 3",
      "OtherName": "sample string 4",
      "AdmissionNumber": "sample string 5",
      "SchoolAdmitted": "sample string 6",
      "AdmissionClass": "sample string 7",
      "AdmissionSession": "sample string 8",
      "AdmissionTerm": "sample string 9",
      "Email": "sample string 10",
      "Gender": "sample string 11",
      "Address": "sample string 12",
      "PhotoSrc": "sample string 13",
      "DateOfBirth": "2024-12-23T17:08:44.7789656+01:00",
      "Gynotype": "sample string 14",
      "BloodGroup": "sample string 15",
      "Allegies": "sample string 16",
      "OtherMedicalIssues": "sample string 17",
      "ParentGardianName": "sample string 18",
      "ParentGardianAddress": "sample string 19",
      "ParentGardianPhoneNos": "sample string 20",
      "RelationshipType": "sample string 21",
      "UserId": "sample string 22",
      "IsAuthenticated": true
    }
  ],
  "batchSize": 2
}

application/xml, text/xml

Sample:
<StudentBulkParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Server.Models">
  <batchSize>2</batchSize>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BaseLibrary.Entities">
    <d2p1:Student>
      <d2p1:Address>sample string 12</d2p1:Address>
      <d2p1:AdmissionClass>sample string 7</d2p1:AdmissionClass>
      <d2p1:AdmissionNumber>sample string 5</d2p1:AdmissionNumber>
      <d2p1:AdmissionSession>sample string 8</d2p1:AdmissionSession>
      <d2p1:AdmissionTerm>sample string 9</d2p1:AdmissionTerm>
      <d2p1:Allegies>sample string 16</d2p1:Allegies>
      <d2p1:BloodGroup>sample string 15</d2p1:BloodGroup>
      <d2p1:DateOfBirth>2024-12-23T17:08:44.7789656+01:00</d2p1:DateOfBirth>
      <d2p1:Email>sample string 10</d2p1:Email>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Gender>sample string 11</d2p1:Gender>
      <d2p1:Gynotype>sample string 14</d2p1:Gynotype>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAuthenticated>true</d2p1:IsAuthenticated>
      <d2p1:LastName>sample string 2</d2p1:LastName>
      <d2p1:OtherMedicalIssues>sample string 17</d2p1:OtherMedicalIssues>
      <d2p1:OtherName>sample string 4</d2p1:OtherName>
      <d2p1:ParentGardianAddress>sample string 19</d2p1:ParentGardianAddress>
      <d2p1:ParentGardianName>sample string 18</d2p1:ParentGardianName>
      <d2p1:ParentGardianPhoneNos>sample string 20</d2p1:ParentGardianPhoneNos>
      <d2p1:PhotoSrc>sample string 13</d2p1:PhotoSrc>
      <d2p1:RelationshipType>sample string 21</d2p1:RelationshipType>
      <d2p1:SchoolAdmitted>sample string 6</d2p1:SchoolAdmitted>
      <d2p1:UserId>sample string 22</d2p1:UserId>
    </d2p1:Student>
    <d2p1:Student>
      <d2p1:Address>sample string 12</d2p1:Address>
      <d2p1:AdmissionClass>sample string 7</d2p1:AdmissionClass>
      <d2p1:AdmissionNumber>sample string 5</d2p1:AdmissionNumber>
      <d2p1:AdmissionSession>sample string 8</d2p1:AdmissionSession>
      <d2p1:AdmissionTerm>sample string 9</d2p1:AdmissionTerm>
      <d2p1:Allegies>sample string 16</d2p1:Allegies>
      <d2p1:BloodGroup>sample string 15</d2p1:BloodGroup>
      <d2p1:DateOfBirth>2024-12-23T17:08:44.7789656+01:00</d2p1:DateOfBirth>
      <d2p1:Email>sample string 10</d2p1:Email>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Gender>sample string 11</d2p1:Gender>
      <d2p1:Gynotype>sample string 14</d2p1:Gynotype>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAuthenticated>true</d2p1:IsAuthenticated>
      <d2p1:LastName>sample string 2</d2p1:LastName>
      <d2p1:OtherMedicalIssues>sample string 17</d2p1:OtherMedicalIssues>
      <d2p1:OtherName>sample string 4</d2p1:OtherName>
      <d2p1:ParentGardianAddress>sample string 19</d2p1:ParentGardianAddress>
      <d2p1:ParentGardianName>sample string 18</d2p1:ParentGardianName>
      <d2p1:ParentGardianPhoneNos>sample string 20</d2p1:ParentGardianPhoneNos>
      <d2p1:PhotoSrc>sample string 13</d2p1:PhotoSrc>
      <d2p1:RelationshipType>sample string 21</d2p1:RelationshipType>
      <d2p1:SchoolAdmitted>sample string 6</d2p1:SchoolAdmitted>
      <d2p1:UserId>sample string 22</d2p1:UserId>
    </d2p1:Student>
  </data>
  <tableName>sample string 1</tableName>
</StudentBulkParam>

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

Response Information

Resource Description

None.