POST api/BulkOperation/synchronizeBillCategoryTable

Request Information

URI Parameters

None.

Body Parameters

BillCategoryBulkParam
NameDescriptionTypeAdditional information
tableName

string

None.

data

Collection of BillCategory

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:49:40.9069504+01:00",
      "DateModified": "2024-12-23T16:49:40.9069504+01:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "DateCreated": "2024-12-23T16:49:40.9069504+01:00",
      "DateModified": "2024-12-23T16:49:40.9069504+01:00"
    }
  ],
  "batchSize": 2
}

application/xml, text/xml

Sample:
<BillCategoryBulkParam 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:BillCategory>
      <d2p1:DateCreated>2024-12-23T16:49:40.9069504+01:00</d2p1:DateCreated>
      <d2p1:DateModified>2024-12-23T16:49:40.9069504+01:00</d2p1:DateModified>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:BillCategory>
    <d2p1:BillCategory>
      <d2p1:DateCreated>2024-12-23T16:49:40.9069504+01:00</d2p1:DateCreated>
      <d2p1:DateModified>2024-12-23T16:49:40.9069504+01:00</d2p1:DateModified>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:BillCategory>
  </data>
  <tableName>sample string 1</tableName>
</BillCategoryBulkParam>

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

Response Information

Resource Description

None.