POST api/Costs/updateCostItemAttachment_Amodit

Aktualizacja AmoditId załącznika pozycji kosztu po synchronizacji z Amodit

Request Information

URI Parameters

None.

Body Parameters

AmoditCostItemUpdate
NazwaOpisTypInformacje dodatkowe
Id

integer

None.

AmoditId

integer

None.

ItemNumber

string

None.

IssueDate

date

None.

ReceivedDate

date

None.

PaymentDate

date

None.

ApprovedAmount

decimal number

None.

AmountToPay

decimal number

None.

Status

string

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AmoditId": 2,
  "ItemNumber": "sample string 3",
  "IssueDate": "2026-10-05T13:12:01.345962+02:00",
  "ReceivedDate": "2026-10-05T13:12:01.345962+02:00",
  "PaymentDate": "2026-10-05T13:12:01.345962+02:00",
  "ApprovedAmount": 1.0,
  "AmountToPay": 1.0,
  "Status": "sample string 4",
  "Notes": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AmoditCostItemUpdate'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.