POST api/OtherIncome/insertRecord

Request Information

URI Parameters

None.

Body Parameters

OtherIncomes
NameDescriptionTypeAdditional information
OtherIncomeId

decimal number

None.

txtOtherIncome

string

None.

OtherIncomeDate

date

None.

txtInvoiceTime

string

None.

BranchId

decimal number

None.

otherIncome

string

None.

ReferenceNo

string

None.

cmbCustomerType

decimal number

None.

cmbCustomer

decimal number

None.

CustomerId

decimal number

None.

EnquiryId

decimal number

None.

cmbInvoiceTakenby

decimal number

None.

txtNetTotal

string

None.

txtdiscount

string

None.

txtTaxes

decimal number

None.

txtShippingCharges

string

None.

txtGrandTotal

decimal number

None.

txtAdjustment

string

None.

txtReason

string

None.

PaymentDueDate

date

None.

TermsCondId

decimal number

None.

txtComments

string

None.

EmployeeId

decimal number

None.

General_ShowAdjustment

integer

None.

General_ShowShippingCharges

integer

None.

ItemRowsPayVals

string

None.

ItemRowsVals

string

None.

txtdescription

string

None.

OtherIncomeDetailList

Collection of OtherIncomeDetailList

None.

OtherReceiptList

Collection of OtherReceiptList

None.

Request Formats

application/json, text/json

Sample:
{
  "OtherIncomeId": 1.0,
  "txtOtherIncome": "sample string 2",
  "OtherIncomeDate": "2025-12-05T17:19:29.6886911+05:30",
  "txtInvoiceTime": "sample string 4",
  "BranchId": 5.0,
  "otherIncome": "sample string 6",
  "ReferenceNo": "sample string 7",
  "cmbCustomerType": 8.0,
  "cmbCustomer": 9.0,
  "CustomerId": 1.0,
  "EnquiryId": 1.0,
  "cmbInvoiceTakenby": 10.0,
  "txtNetTotal": "sample string 11",
  "txtdiscount": "sample string 12",
  "txtTaxes": 13.1,
  "txtShippingCharges": "sample string 14",
  "txtGrandTotal": 15.1,
  "txtAdjustment": "sample string 16",
  "txtReason": "sample string 17",
  "PaymentDueDate": "2025-12-05T17:19:29.6886911+05:30",
  "TermsCondId": 19.0,
  "txtComments": "sample string 20",
  "EmployeeId": 21.0,
  "General_ShowAdjustment": 22,
  "General_ShowShippingCharges": 23,
  "ItemRowsPayVals": "sample string 24",
  "ItemRowsVals": "sample string 25",
  "txtdescription": "sample string 26",
  "OtherIncomeDetailList": [
    {
      "OtherIncomeDetailId": 1.0,
      "FeesId": 2.0,
      "Qty": 3.1,
      "Rate": 4.1,
      "DiscountType": "sample string 5",
      "DiscountRate": 6.1,
      "TotalDiscount": 7.1,
      "Total": 8.1,
      "Description": "sample string 9",
      "OtherIncomeTax": [
        {
          "TaxId": 1.0,
          "TaxRate": 1.1,
          "TaxAmount": 2.1
        },
        {
          "TaxId": 1.0,
          "TaxRate": 1.1,
          "TaxAmount": 2.1
        }
      ]
    },
    {
      "OtherIncomeDetailId": 1.0,
      "FeesId": 2.0,
      "Qty": 3.1,
      "Rate": 4.1,
      "DiscountType": "sample string 5",
      "DiscountRate": 6.1,
      "TotalDiscount": 7.1,
      "Total": 8.1,
      "Description": "sample string 9",
      "OtherIncomeTax": [
        {
          "TaxId": 1.0,
          "TaxRate": 1.1,
          "TaxAmount": 2.1
        },
        {
          "TaxId": 1.0,
          "TaxRate": 1.1,
          "TaxAmount": 2.1
        }
      ]
    }
  ],
  "OtherReceiptList": [
    {
      "OtherReceiptDetailsId": 1.0,
      "PaymentModeId": 2.0,
      "PaymentAccountId": 3.0,
      "TransactionStatusId": 4.0,
      "Narration": "sample string 5",
      "TransactionDate": "2025-12-05T17:19:29.6886911+05:30",
      "TransactionNumber": 7,
      "PaymentAmount": 8.1,
      "TDSAmount": 9.1,
      "TDSAccountId": 10.0
    },
    {
      "OtherReceiptDetailsId": 1.0,
      "PaymentModeId": 2.0,
      "PaymentAccountId": 3.0,
      "TransactionStatusId": 4.0,
      "Narration": "sample string 5",
      "TransactionDate": "2025-12-05T17:19:29.6886911+05:30",
      "TransactionNumber": 7,
      "PaymentAmount": 8.1,
      "TDSAmount": 9.1,
      "TDSAccountId": 10.0
    }
  ]
}

application/xml, text/xml

Sample:
<OtherIncomes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <BranchId>5</BranchId>
  <CustomerId>1</CustomerId>
  <EmployeeId>21</EmployeeId>
  <EnquiryId>1</EnquiryId>
  <General_ShowAdjustment>22</General_ShowAdjustment>
  <General_ShowShippingCharges>23</General_ShowShippingCharges>
  <ItemRowsPayVals>sample string 24</ItemRowsPayVals>
  <ItemRowsVals>sample string 25</ItemRowsVals>
  <OtherIncomeDate>2025-12-05T17:19:29.6886911+05:30</OtherIncomeDate>
  <OtherIncomeDetailList>
    <OtherIncomeDetailList>
      <Description>sample string 9</Description>
      <DiscountRate>6.1</DiscountRate>
      <DiscountType>sample string 5</DiscountType>
      <FeesId>2</FeesId>
      <OtherIncomeDetailId>1</OtherIncomeDetailId>
      <OtherIncomeTax>
        <OtherIncomeTax>
          <TaxAmount>2.1</TaxAmount>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </OtherIncomeTax>
        <OtherIncomeTax>
          <TaxAmount>2.1</TaxAmount>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </OtherIncomeTax>
      </OtherIncomeTax>
      <Qty>3.1</Qty>
      <Rate>4.1</Rate>
      <Total>8.1</Total>
      <TotalDiscount>7.1</TotalDiscount>
    </OtherIncomeDetailList>
    <OtherIncomeDetailList>
      <Description>sample string 9</Description>
      <DiscountRate>6.1</DiscountRate>
      <DiscountType>sample string 5</DiscountType>
      <FeesId>2</FeesId>
      <OtherIncomeDetailId>1</OtherIncomeDetailId>
      <OtherIncomeTax>
        <OtherIncomeTax>
          <TaxAmount>2.1</TaxAmount>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </OtherIncomeTax>
        <OtherIncomeTax>
          <TaxAmount>2.1</TaxAmount>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </OtherIncomeTax>
      </OtherIncomeTax>
      <Qty>3.1</Qty>
      <Rate>4.1</Rate>
      <Total>8.1</Total>
      <TotalDiscount>7.1</TotalDiscount>
    </OtherIncomeDetailList>
  </OtherIncomeDetailList>
  <OtherIncomeId>1</OtherIncomeId>
  <OtherReceiptList>
    <OtherReceiptList>
      <Narration>sample string 5</Narration>
      <OtherReceiptDetailsId>1</OtherReceiptDetailsId>
      <PaymentAccountId>3</PaymentAccountId>
      <PaymentAmount>8.1</PaymentAmount>
      <PaymentModeId>2</PaymentModeId>
      <TDSAccountId>10</TDSAccountId>
      <TDSAmount>9.1</TDSAmount>
      <TransactionDate>2025-12-05T17:19:29.6886911+05:30</TransactionDate>
      <TransactionNumber>7</TransactionNumber>
      <TransactionStatusId>4</TransactionStatusId>
    </OtherReceiptList>
    <OtherReceiptList>
      <Narration>sample string 5</Narration>
      <OtherReceiptDetailsId>1</OtherReceiptDetailsId>
      <PaymentAccountId>3</PaymentAccountId>
      <PaymentAmount>8.1</PaymentAmount>
      <PaymentModeId>2</PaymentModeId>
      <TDSAccountId>10</TDSAccountId>
      <TDSAmount>9.1</TDSAmount>
      <TransactionDate>2025-12-05T17:19:29.6886911+05:30</TransactionDate>
      <TransactionNumber>7</TransactionNumber>
      <TransactionStatusId>4</TransactionStatusId>
    </OtherReceiptList>
  </OtherReceiptList>
  <PaymentDueDate>2025-12-05T17:19:29.6886911+05:30</PaymentDueDate>
  <ReferenceNo>sample string 7</ReferenceNo>
  <TermsCondId>19</TermsCondId>
  <cmbCustomer>9</cmbCustomer>
  <cmbCustomerType>8</cmbCustomerType>
  <cmbInvoiceTakenby>10</cmbInvoiceTakenby>
  <otherIncome>sample string 6</otherIncome>
  <txtAdjustment>sample string 16</txtAdjustment>
  <txtComments>sample string 20</txtComments>
  <txtGrandTotal>15.1</txtGrandTotal>
  <txtInvoiceTime>sample string 4</txtInvoiceTime>
  <txtNetTotal>sample string 11</txtNetTotal>
  <txtOtherIncome>sample string 2</txtOtherIncome>
  <txtReason>sample string 17</txtReason>
  <txtShippingCharges>sample string 14</txtShippingCharges>
  <txtTaxes>13.1</txtTaxes>
  <txtdescription>sample string 26</txtdescription>
  <txtdiscount>sample string 12</txtdiscount>
</OtherIncomes>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>