POST api/BulkOperation/synchronizeSchoolClassTable

Request Information

URI Parameters

None.

Body Parameters

SchoolClassBulkParam
NameDescriptionTypeAdditional information
tableName

string

None.

data

Collection of SchoolClass

None.

batchSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tableName": "sample string 1",
  "data": [
    {
      "ShortName": "sample string 1",
      "AdmissionClassPrepender": "sample string 2",
      "School": {
        "SchoolAbbrevation": "sample string 1",
        "SchoolAddresss": "sample string 2",
        "SchoolPhoneNo": "sample string 3",
        "SchoolEmail": "sample string 4",
        "SchoolWebsite": "sample string 5",
        "Facebook": "sample string 6",
        "Histagram": "sample string 7",
        "Tweeter": "sample string 8",
        "WhatappNumber": "sample string 9",
        "SchoolLogoSrc": "sample string 10",
        "Aka": "sample string 11",
        "SchoolMotto": "sample string 12",
        "Id": 13,
        "Name": "sample string 14",
        "DateCreated": "2024-12-23T17:21:20.7645982+01:00",
        "DateModified": "2024-12-23T17:21:20.7645982+01:00"
      },
      "SchoolId": 3,
      "SchoolCategory": {
        "Id": 1,
        "Name": "sample string 2",
        "DateCreated": "2024-12-23T17:21:20.7645982+01:00",
        "DateModified": "2024-12-23T17:21:20.7645982+01:00"
      },
      "SchoolCategoryId": 4,
      "Id": 5,
      "Name": "sample string 6",
      "DateCreated": "2024-12-23T17:21:20.7645982+01:00",
      "DateModified": "2024-12-23T17:21:20.7645982+01:00"
    },
    {
      "ShortName": "sample string 1",
      "AdmissionClassPrepender": "sample string 2",
      "School": {
        "SchoolAbbrevation": "sample string 1",
        "SchoolAddresss": "sample string 2",
        "SchoolPhoneNo": "sample string 3",
        "SchoolEmail": "sample string 4",
        "SchoolWebsite": "sample string 5",
        "Facebook": "sample string 6",
        "Histagram": "sample string 7",
        "Tweeter": "sample string 8",
        "WhatappNumber": "sample string 9",
        "SchoolLogoSrc": "sample string 10",
        "Aka": "sample string 11",
        "SchoolMotto": "sample string 12",
        "Id": 13,
        "Name": "sample string 14",
        "DateCreated": "2024-12-23T17:21:20.7645982+01:00",
        "DateModified": "2024-12-23T17:21:20.7645982+01:00"
      },
      "SchoolId": 3,
      "SchoolCategory": {
        "Id": 1,
        "Name": "sample string 2",
        "DateCreated": "2024-12-23T17:21:20.7645982+01:00",
        "DateModified": "2024-12-23T17:21:20.7645982+01:00"
      },
      "SchoolCategoryId": 4,
      "Id": 5,
      "Name": "sample string 6",
      "DateCreated": "2024-12-23T17:21:20.7645982+01:00",
      "DateModified": "2024-12-23T17:21:20.7645982+01:00"
    }
  ],
  "batchSize": 2
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'BaseLibrary.Entities.SchoolClass' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'BaseLibrary.Entities.SchoolClass' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

None.