POST api/person/history/save

Request Information

URI Parameters

None.

Body Parameters

PersonHistory
NameDescriptionTypeAdditional information
Id

integer

None.

PersonId

integer

None.

Remark

string

None.

User

string

None.

DateCreate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PersonId": 1,
  "Remark": "sample string 2",
  "User": "sample string 3",
  "DateCreate": "2025-08-30T03:00:53.5394285+03:30"
}

text/html

Sample:
{"Id":1,"PersonId":1,"Remark":"sample string 2","User":"sample string 3","DateCreate":"2025-08-30T03:00:53.5394285+03:30"}

application/xml, text/xml

Sample:
<PersonHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AirpocketAPI.Models">
  <DateCreate>2025-08-30T03:00:53.5394285+03:30</DateCreate>
  <Id>1</Id>
  <PersonId>1</PersonId>
  <Remark>sample string 2</Remark>
  <User>sample string 3</User>
</PersonHistory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.