PUT api/OtherCostTypes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
OtherCostType| Name | Description | Type | Additional 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.