POST api/PerformaInvoice/CreateDeposit

Request Information

URI Parameters

None.

Body Parameters

md_deposit
NameDescriptionTypeAdditional information
date

date

None.

deposit

Collection of md_deposit_order

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2026-04-07T18:02:33.930664+07:00",
  "deposit": [
    {
      "ord_id": 1,
      "amount": 2.0
    },
    {
      "ord_id": 1,
      "amount": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<md_deposit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Proforma_Invoce">
  <date>2026-04-07T18:02:33.930664+07:00</date>
  <deposit>
    <md_deposit_order>
      <amount>2</amount>
      <ord_id>1</ord_id>
    </md_deposit_order>
    <md_deposit_order>
      <amount>2</amount>
      <ord_id>1</ord_id>
    </md_deposit_order>
  </deposit>
</md_deposit>

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 'md_deposit'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.