POST api/Batch/AddBatch
Request Information
URI Parameters
None.
Body Parameters
BatchName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Time | string |
None. |
|
CenterId | integer |
None. |
|
ClassId | integer |
None. |
|
CourseId | integer |
None. |
|
CourseName | string |
None. |
|
ClassName | string |
None. |
|
CenterName | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | string |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Time": "sample string 3", "CenterId": 4, "ClassId": 5, "CourseId": 6, "CourseName": "sample string 7", "ClassName": "sample string 8", "CenterName": "sample string 9", "CreatedBy": "sample string 10", "CreatedDate": "sample string 11", "UpdatedBy": "sample string 12", "UpdatedDate": "sample string 13" }
application/octet-stream
Sample:
{"$id":"1","Id":1,"Name":"sample string 2","Time":"sample string 3","CenterId":4,"ClassId":5,"CourseId":6,"CourseName":"sample string 7","ClassName":"sample string 8","CenterName":"sample string 9","CreatedBy":"sample string 10","CreatedDate":"sample string 11","UpdatedBy":"sample string 12","UpdatedDate":"sample string 13"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.