POST api/BulkOperation/synchronizeSchoolCategoryTable

Request Information

URI Parameters

None.

Body Parameters

SchoolCategoryBulkParam
NameDescriptionTypeAdditional information
tableName

string

None.

data

Collection of SchoolCategory

None.

batchSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tableName": "sample string 1",
  "data": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "DateCreated": "2024-12-23T16:40:02.2273854+01:00",
      "DateModified": "2024-12-23T16:40:02.2273854+01:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "DateCreated": "2024-12-23T16:40:02.2273854+01:00",
      "DateModified": "2024-12-23T16:40:02.2273854+01:00"
    }
  ],
  "batchSize": 2
}

application/xml, text/xml

Sample:
<SchoolCategoryBulkParam 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:SchoolCategory>
      <d2p1:DateCreated>2024-12-23T16:40:02.2273854+01:00</d2p1:DateCreated>
      <d2p1:DateModified>2024-12-23T16:40:02.2273854+01:00</d2p1:DateModified>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:SchoolCategory>
    <d2p1:SchoolCategory>
      <d2p1:DateCreated>2024-12-23T16:40:02.2273854+01:00</d2p1:DateCreated>
      <d2p1:DateModified>2024-12-23T16:40:02.2273854+01:00</d2p1:DateModified>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:SchoolCategory>
  </data>
  <tableName>sample string 1</tableName>
</SchoolCategoryBulkParam>

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

Response Information

Resource Description

None.