PUT api/OtherCostTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OtherCostType
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

OtherCosts

Collection of OtherCost

None.

Request Formats

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.