POST api/Batch/UpdateBatch

Request Information

URI Parameters

None.

Body Parameters

Batch
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Batch'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.