POST api/StudentCardDetail

Request Information

URI Parameters

None.

Body Parameters

StudentCardDetail
NameDescriptionTypeAdditional information
RecordNo

integer

None.

CardName

string

None.

CardNo

string

None.

ExpireDate

string

None.

AspNetUsersFK

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "CardName": "sample string 2",
  "CardNo": "sample string 3",
  "ExpireDate": "sample string 4",
  "AspNetUsersFK": 5,
  "CreatedOn": "2021-07-29T06:36:24.4269327+00:00",
  "UpdatedOn": "2021-07-29T06:36:24.4269327+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<StudentCardDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <AspNetUsersFK>5</AspNetUsersFK>
  <CardName>sample string 2</CardName>
  <CardNo>sample string 3</CardNo>
  <CreatedOn>2021-07-29T06:36:24.4269327+00:00</CreatedOn>
  <ExpireDate>sample string 4</ExpireDate>
  <IsDeleted>true</IsDeleted>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2021-07-29T06:36:24.4269327+00:00</UpdatedOn>
</StudentCardDetail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.