POST api/Assignment/insertRecord

Request Information

URI Parameters

None.

Body Parameters

Assignment
NameDescriptionTypeAdditional information
AssignmentId

decimal number

None.

AssignmentName

string

None.

BranchId

decimal number

None.

YearId

decimal number

None.

SubmitionDate

date

None.

Remarks

string

None.

YoutubeVideoId

string

None.

UploadDocumentName

string

None.

EditReason

string

None.

CreatedBy

decimal number

None.

CreatedDate

date

None.

UpdatedBy

decimal number

None.

UpdatedDate

date

None.

Status

string

None.

AssignmentTypeId

decimal number

None.

AssignmentGradeDetails

string

None.

AssignmentGradeDetailDeleteIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssignmentId": 1.0,
  "AssignmentName": "sample string 2",
  "BranchId": 3.0,
  "YearId": 4.0,
  "SubmitionDate": "2022-05-27T08:27:06.4894547+05:30",
  "Remarks": "sample string 6",
  "YoutubeVideoId": "sample string 7",
  "UploadDocumentName": "sample string 8",
  "EditReason": "sample string 9",
  "CreatedBy": 10.0,
  "CreatedDate": "2022-05-27T08:27:06.4894547+05:30",
  "UpdatedBy": 12.0,
  "UpdatedDate": "2022-05-27T08:27:06.4894547+05:30",
  "Status": "sample string 14",
  "AssignmentTypeId": 15.0,
  "AssignmentGradeDetails": "sample string 16",
  "AssignmentGradeDetailDeleteIds": "sample string 17"
}

application/xml, text/xml

Sample:
<Assignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <AssignmentGradeDetailDeleteIds>sample string 17</AssignmentGradeDetailDeleteIds>
  <AssignmentGradeDetails>sample string 16</AssignmentGradeDetails>
  <AssignmentId>1</AssignmentId>
  <AssignmentName>sample string 2</AssignmentName>
  <AssignmentTypeId>15</AssignmentTypeId>
  <BranchId>3</BranchId>
  <CreatedBy>10</CreatedBy>
  <CreatedDate>2022-05-27T08:27:06.4894547+05:30</CreatedDate>
  <EditReason>sample string 9</EditReason>
  <Remarks>sample string 6</Remarks>
  <Status>sample string 14</Status>
  <SubmitionDate>2022-05-27T08:27:06.4894547+05:30</SubmitionDate>
  <UpdatedBy>12</UpdatedBy>
  <UpdatedDate>2022-05-27T08:27:06.4894547+05:30</UpdatedDate>
  <UploadDocumentName>sample string 8</UploadDocumentName>
  <YearId>4</YearId>
  <YoutubeVideoId>sample string 7</YoutubeVideoId>
</Assignment>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>