POST api/BulkOperation/synchronizeStudentBillTable

Request Information

URI Parameters

None.

Body Parameters

StudentBillBulkParam
NameDescriptionTypeAdditional information
tableName

string

None.

data

Collection of StudentBill

None.

batchSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tableName": "sample string 1",
  "data": [
    {
      "SBId": 1,
      "BillDate": "2024-12-23T17:00:27.5038958+01:00",
      "AdmissionNumber": "sample string 3",
      "BId": 4,
      "ReferenceNo": "sample string 5",
      "Quantity": 6,
      "Amount": 1.1,
      "TotalAmount": 1.1,
      "RunningTotalAmount": 1.1,
      "IsDiscount": true,
      "IsReversed": true,
      "DiscountType": "sample string 7",
      "UnitDiscount": 1.1,
      "TotalDiscount": 1.1,
      "TotalLessDiscount": 1.1,
      "TotalAfterAllDiscount": 1.1,
      "BilledBy": "sample string 8",
      "Details": "sample string 9"
    },
    {
      "SBId": 1,
      "BillDate": "2024-12-23T17:00:27.5038958+01:00",
      "AdmissionNumber": "sample string 3",
      "BId": 4,
      "ReferenceNo": "sample string 5",
      "Quantity": 6,
      "Amount": 1.1,
      "TotalAmount": 1.1,
      "RunningTotalAmount": 1.1,
      "IsDiscount": true,
      "IsReversed": true,
      "DiscountType": "sample string 7",
      "UnitDiscount": 1.1,
      "TotalDiscount": 1.1,
      "TotalLessDiscount": 1.1,
      "TotalAfterAllDiscount": 1.1,
      "BilledBy": "sample string 8",
      "Details": "sample string 9"
    }
  ],
  "batchSize": 2
}

application/xml, text/xml

Sample:
<StudentBillBulkParam 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:StudentBill>
      <d2p1:AdmissionNumber>sample string 3</d2p1:AdmissionNumber>
      <d2p1:Amount>1.1</d2p1:Amount>
      <d2p1:BId>4</d2p1:BId>
      <d2p1:BillDate>2024-12-23T17:00:27.5038958+01:00</d2p1:BillDate>
      <d2p1:BilledBy>sample string 8</d2p1:BilledBy>
      <d2p1:Details>sample string 9</d2p1:Details>
      <d2p1:DiscountType>sample string 7</d2p1:DiscountType>
      <d2p1:IsDiscount>true</d2p1:IsDiscount>
      <d2p1:IsReversed>true</d2p1:IsReversed>
      <d2p1:Quantity>6</d2p1:Quantity>
      <d2p1:ReferenceNo>sample string 5</d2p1:ReferenceNo>
      <d2p1:RunningTotalAmount>1.1</d2p1:RunningTotalAmount>
      <d2p1:SBId>1</d2p1:SBId>
      <d2p1:TotalAfterAllDiscount>1.1</d2p1:TotalAfterAllDiscount>
      <d2p1:TotalAmount>1.1</d2p1:TotalAmount>
      <d2p1:TotalDiscount>1.1</d2p1:TotalDiscount>
      <d2p1:TotalLessDiscount>1.1</d2p1:TotalLessDiscount>
      <d2p1:UnitDiscount>1.1</d2p1:UnitDiscount>
    </d2p1:StudentBill>
    <d2p1:StudentBill>
      <d2p1:AdmissionNumber>sample string 3</d2p1:AdmissionNumber>
      <d2p1:Amount>1.1</d2p1:Amount>
      <d2p1:BId>4</d2p1:BId>
      <d2p1:BillDate>2024-12-23T17:00:27.5038958+01:00</d2p1:BillDate>
      <d2p1:BilledBy>sample string 8</d2p1:BilledBy>
      <d2p1:Details>sample string 9</d2p1:Details>
      <d2p1:DiscountType>sample string 7</d2p1:DiscountType>
      <d2p1:IsDiscount>true</d2p1:IsDiscount>
      <d2p1:IsReversed>true</d2p1:IsReversed>
      <d2p1:Quantity>6</d2p1:Quantity>
      <d2p1:ReferenceNo>sample string 5</d2p1:ReferenceNo>
      <d2p1:RunningTotalAmount>1.1</d2p1:RunningTotalAmount>
      <d2p1:SBId>1</d2p1:SBId>
      <d2p1:TotalAfterAllDiscount>1.1</d2p1:TotalAfterAllDiscount>
      <d2p1:TotalAmount>1.1</d2p1:TotalAmount>
      <d2p1:TotalDiscount>1.1</d2p1:TotalDiscount>
      <d2p1:TotalLessDiscount>1.1</d2p1:TotalLessDiscount>
      <d2p1:UnitDiscount>1.1</d2p1:UnitDiscount>
    </d2p1:StudentBill>
  </data>
  <tableName>sample string 1</tableName>
</StudentBillBulkParam>

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

Response Information

Resource Description

None.