PUT api/othercosts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OtherCost
NameDescriptionTypeAdditional information
ID

integer

None.

OtherCostTypeID

integer

None.

Cost

string

None.

Date

date

None.

OtherCostType

OtherCostType

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "OtherCostTypeID": 2,
  "Cost": "sample string 3",
  "Date": "2026-01-01T04:13:33.3259352+03:30",
  "OtherCostType": {
    "$id": "2",
    "ID": 1,
    "Name": "sample string 2",
    "OtherCosts": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.