POST api/BulkOperation/synchronizeClassAllocationTable
Request Information
URI Parameters
None.
Body Parameters
ClassAllocationBulkParamName | Description | Type | Additional information |
---|---|---|---|
tableName | string |
None. |
|
data | Collection of ClassAllocation |
None. |
|
batchSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "tableName": "sample string 1", "data": [ { "Id": 1, "School": "sample string 2", "Class": "sample string 3", "Session": "sample string 4", "Term": "sample string 5", "RegNumber": "sample string 6", "StudentName": "sample string 7", "RoleName": "sample string 8", "SubjectsInClass": "sample string 9" }, { "Id": 1, "School": "sample string 2", "Class": "sample string 3", "Session": "sample string 4", "Term": "sample string 5", "RegNumber": "sample string 6", "StudentName": "sample string 7", "RoleName": "sample string 8", "SubjectsInClass": "sample string 9" } ], "batchSize": 2 }
application/xml, text/xml
Sample:
<ClassAllocationBulkParam 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:ClassAllocation> <d2p1:Class>sample string 3</d2p1:Class> <d2p1:Id>1</d2p1:Id> <d2p1:RegNumber>sample string 6</d2p1:RegNumber> <d2p1:RoleName>sample string 8</d2p1:RoleName> <d2p1:School>sample string 2</d2p1:School> <d2p1:Session>sample string 4</d2p1:Session> <d2p1:StudentName>sample string 7</d2p1:StudentName> <d2p1:SubjectsInClass>sample string 9</d2p1:SubjectsInClass> <d2p1:Term>sample string 5</d2p1:Term> </d2p1:ClassAllocation> <d2p1:ClassAllocation> <d2p1:Class>sample string 3</d2p1:Class> <d2p1:Id>1</d2p1:Id> <d2p1:RegNumber>sample string 6</d2p1:RegNumber> <d2p1:RoleName>sample string 8</d2p1:RoleName> <d2p1:School>sample string 2</d2p1:School> <d2p1:Session>sample string 4</d2p1:Session> <d2p1:StudentName>sample string 7</d2p1:StudentName> <d2p1:SubjectsInClass>sample string 9</d2p1:SubjectsInClass> <d2p1:Term>sample string 5</d2p1:Term> </d2p1:ClassAllocation> </data> <tableName>sample string 1</tableName> </ClassAllocationBulkParam>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.