POST api/ProfileMarker

Request Information

URI Parameters

None.

Body Parameters

ProfileMarker
NameDescriptionTypeAdditional information
RecordNo

integer

None.

Name

string

None.

UserName

string

None.

OccupationFK

integer

None.

DateofBirth

date

None.

Gender

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "Name": "sample string 2",
  "UserName": "sample string 3",
  "OccupationFK": 4,
  "DateofBirth": "2024-12-22T00:30:00.4840524+00:00",
  "Gender": "sample string 6",
  "CreatedOn": "2024-12-22T00:30:00.4840524+00:00",
  "UpdatedOn": "2024-12-22T00:30:00.4840524+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ProfileMarker xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2024-12-22T00:30:00.4840524+00:00</CreatedOn>
  <DateofBirth>2024-12-22T00:30:00.4840524+00:00</DateofBirth>
  <Gender>sample string 6</Gender>
  <IsDeleted>true</IsDeleted>
  <Name>sample string 2</Name>
  <OccupationFK>4</OccupationFK>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2024-12-22T00:30:00.4840524+00:00</UpdatedOn>
  <UserName>sample string 3</UserName>
</ProfileMarker>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.