POST api/Voucher/Set

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MONGODBNAME": "sample string 1",
  "Voucherdetails": [
    {
      "VOUCHERDETAILS_ID": 1,
      "VOUCHERDETAILS_VOUCHER_ID": 2,
      "VOUCHERDETAILS_ACCOUNT_ID": 3,
      "VOUCHERDETAILS_ACCOUNT_NAME": "sample string 4",
      "VOUCHERDETAILS_AMOUNT": "sample string 5",
      "VOUCHERDETAILS_TYPE": "sample string 6",
      "VOUCHERDETAILS_CREATEDBY": "sample string 7",
      "VOUCHERDETAILS_CREATEDDATE": "sample string 8",
      "VOUCHERDETAILS_MODIFIEDBY": "sample string 9",
      "VOUCHERDETAILS_MODIFIEDDATE": "sample string 10"
    },
    {
      "VOUCHERDETAILS_ID": 1,
      "VOUCHERDETAILS_VOUCHER_ID": 2,
      "VOUCHERDETAILS_ACCOUNT_ID": 3,
      "VOUCHERDETAILS_ACCOUNT_NAME": "sample string 4",
      "VOUCHERDETAILS_AMOUNT": "sample string 5",
      "VOUCHERDETAILS_TYPE": "sample string 6",
      "VOUCHERDETAILS_CREATEDBY": "sample string 7",
      "VOUCHERDETAILS_CREATEDDATE": "sample string 8",
      "VOUCHERDETAILS_MODIFIEDBY": "sample string 9",
      "VOUCHERDETAILS_MODIFIEDDATE": "sample string 10"
    },
    {
      "VOUCHERDETAILS_ID": 1,
      "VOUCHERDETAILS_VOUCHER_ID": 2,
      "VOUCHERDETAILS_ACCOUNT_ID": 3,
      "VOUCHERDETAILS_ACCOUNT_NAME": "sample string 4",
      "VOUCHERDETAILS_AMOUNT": "sample string 5",
      "VOUCHERDETAILS_TYPE": "sample string 6",
      "VOUCHERDETAILS_CREATEDBY": "sample string 7",
      "VOUCHERDETAILS_CREATEDDATE": "sample string 8",
      "VOUCHERDETAILS_MODIFIEDBY": "sample string 9",
      "VOUCHERDETAILS_MODIFIEDDATE": "sample string 10"
    }
  ],
  "VOUCHER_ID": 1,
  "VOUCHER_INVOCIE_ID": 2,
  "VOUCHER_SOURCE_ID": 3,
  "VOUCHER_SOURCE_NAME": "sample string 4",
  "VOUCHER_TYPE": "sample string 5",
  "VOUCHER_DATE": "sample string 6",
  "VOCHER_FINANCIALYEARID": 7,
  "VOUCHER_CATEGORY_ID": 8,
  "VOUCHER_CREATEDBY": 9,
  "VOUCHER_CREATEDDATE": "sample string 10",
  "VOUCHER_MODIFIEDBY": 11,
  "VOUCHER_MODIFIEDDATE": "sample string 12",
  "VOUCHER_STATUS": "sample string 13",
  "VOUCHER_UNIQUEID": "sample string 14",
  "VOUCHER_NARRATION": "sample string 15",
  "CategId": 16,
  "Id": 17,
  "VEHICLES_ID": 18,
  "CreatedBy": 19,
  "CreatedDate": "2025-12-08T13:26:28.5323781+05:30",
  "ModifiedBy": 21,
  "ModifiedDate": "2025-12-08T13:26:28.5323781+05:30",
  "Operation": 1,
  "Comments": "sample string 23"
}

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
1