PUT api/MileAgeRate

Update a MileAgeRate

Request Information

URI Parameters

None.

Body Parameters

MileAgeRateDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Rate

decimal number

None.

InsertDate

date

None.

InsertBy

integer

None.

UpdateDate

date

None.

UpdateBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Rate": 2.0,
  "InsertDate": "2025-04-29T10:05:56.6147021-06:00",
  "InsertBy": 1,
  "UpdateDate": "2025-04-29T10:05:56.6147021-06:00",
  "UpdateBy": 1
}

text/html

Sample:
{"Id":1,"Rate":2.0,"InsertDate":"2025-04-29T10:05:56.6147021-06:00","InsertBy":1,"UpdateDate":"2025-04-29T10:05:56.6147021-06:00","UpdateBy":1}

application/xml, text/xml

Sample:
<MileAgeRateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL">
  <Id>1</Id>
  <InsertBy>1</InsertBy>
  <InsertDate>2025-04-29T10:05:56.6147021-06:00</InsertDate>
  <Rate>2</Rate>
  <UpdateBy>1</UpdateBy>
  <UpdateDate>2025-04-29T10:05:56.6147021-06:00</UpdateDate>
</MileAgeRateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
id

integer

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "msg": "sample string 1"
}

text/html

Sample:
{"id":1,"msg":"sample string 1"}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL">
  <id>1</id>
  <msg>sample string 1</msg>
</StatusDTO>