POST api/BulkOperation/synchronizeBillTable

Request Information

URI Parameters

None.

Body Parameters

BillBulkParam
NameDescriptionTypeAdditional information
tableName

string

None.

data

Collection of Bill

None.

batchSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tableName": "sample string 1",
  "data": [
    {
      "BillId": 1,
      "BillSchool": "sample string 2",
      "BillClassGroup": "sample string 3",
      "BillCategory": "sample string 4",
      "BillDate": "2024-12-23T17:10:11.9623672+01:00",
      "BillSession": "sample string 5",
      "BillTerm": "sample string 6",
      "BillName": "sample string 7",
      "BillState": "sample string 8",
      "Amount": 1.1
    },
    {
      "BillId": 1,
      "BillSchool": "sample string 2",
      "BillClassGroup": "sample string 3",
      "BillCategory": "sample string 4",
      "BillDate": "2024-12-23T17:10:11.9623672+01:00",
      "BillSession": "sample string 5",
      "BillTerm": "sample string 6",
      "BillName": "sample string 7",
      "BillState": "sample string 8",
      "Amount": 1.1
    }
  ],
  "batchSize": 2
}

application/xml, text/xml

Sample:
<BillBulkParam 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:Bill>
      <d2p1:Amount>1.1</d2p1:Amount>
      <d2p1:BillCategory>sample string 4</d2p1:BillCategory>
      <d2p1:BillClassGroup>sample string 3</d2p1:BillClassGroup>
      <d2p1:BillDate>2024-12-23T17:10:11.9623672+01:00</d2p1:BillDate>
      <d2p1:BillId>1</d2p1:BillId>
      <d2p1:BillName>sample string 7</d2p1:BillName>
      <d2p1:BillSchool>sample string 2</d2p1:BillSchool>
      <d2p1:BillSession>sample string 5</d2p1:BillSession>
      <d2p1:BillState>sample string 8</d2p1:BillState>
      <d2p1:BillTerm>sample string 6</d2p1:BillTerm>
    </d2p1:Bill>
    <d2p1:Bill>
      <d2p1:Amount>1.1</d2p1:Amount>
      <d2p1:BillCategory>sample string 4</d2p1:BillCategory>
      <d2p1:BillClassGroup>sample string 3</d2p1:BillClassGroup>
      <d2p1:BillDate>2024-12-23T17:10:11.9623672+01:00</d2p1:BillDate>
      <d2p1:BillId>1</d2p1:BillId>
      <d2p1:BillName>sample string 7</d2p1:BillName>
      <d2p1:BillSchool>sample string 2</d2p1:BillSchool>
      <d2p1:BillSession>sample string 5</d2p1:BillSession>
      <d2p1:BillState>sample string 8</d2p1:BillState>
      <d2p1:BillTerm>sample string 6</d2p1:BillTerm>
    </d2p1:Bill>
  </data>
  <tableName>sample string 1</tableName>
</BillBulkParam>

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

Response Information

Resource Description

None.