PUT api/Flintstones/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Person
NameDescriptionTypeAdditional information
PersonId

integer

None.

FirstName

string

None.

LastName

string

None.

Occupation

string

None.

Gender

string

None.

Created

date

None.

Picture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Occupation": "sample string 4",
  "Gender": "sample string 5",
  "Created": "2019-12-10T12:12:02.1855915-08:00",
  "Picture": "sample string 7"
}

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

Response Information

Resource Description

None.