POST api/v1/finance_ExpenseRegister

Request Information

URI Parameters

None.

Body Parameters

Finance_ExpenseRegisterVM
NameDescriptionTypeAdditional information
expenseRegisterId

integer

None.

budgetAccountId

integer

None.

budgetAccountSubId

integer

None.

financialYearId

integer

None.

expenseCategoryId

integer

None.

taxAmount

decimal number

None.

vendorId

integer

None.

naration

string

None.

paymentChannelId

integer

None.

referenceNumber

string

None.

transactionDate

date

None.

dateCreated

date

None.

tenantId

integer

None.

createdBy

integer

None.

paymentAccountId

integer

None.

receivingAccountId

integer

None.

accountName

Object

None.

financialYearName

string

None.

budgetAccountSubName

string

None.

paymentChannelName

string

None.

paymentAccountName

string

None.

receivingAccountName

string

None.

amount

decimal number

None.

documentTypeId

integer

None.

fileName

string

None.

fileType

string

None.

fileExtention

string

None.

fileLink

string

None.

fileData

Collection of byte

None.

targetId

integer

None.

vendorName

string

None.

isTaxApply

boolean

None.

taxId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "expenseRegisterId": 1,
  "budgetAccountId": 1,
  "budgetAccountSubId": 1,
  "financialYearId": 1,
  "expenseCategoryId": 1,
  "taxAmount": 2.0,
  "vendorId": 1,
  "naration": "sample string 3",
  "paymentChannelId": 1,
  "referenceNumber": "sample string 4",
  "transactionDate": "2024-09-19T11:05:50.2923461-07:00",
  "dateCreated": "2024-09-19T11:05:50.2923461-07:00",
  "tenantId": 1,
  "createdBy": 1,
  "paymentAccountId": 1,
  "receivingAccountId": 1,
  "accountName": {},
  "financialYearName": "sample string 6",
  "budgetAccountSubName": "sample string 7",
  "paymentChannelName": "sample string 8",
  "paymentAccountName": "sample string 9",
  "receivingAccountName": "sample string 10",
  "amount": 11.0,
  "documentTypeId": 1,
  "fileName": "sample string 12",
  "fileType": "sample string 13",
  "fileExtention": "sample string 14",
  "fileLink": "sample string 15",
  "fileData": "QEA=",
  "targetId": 1,
  "vendorName": "sample string 16",
  "isTaxApply": true,
  "taxId": 1
}

application/xml, text/xml

Sample:
<Finance_ExpenseRegisterVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <accountName />
  <amount>11</amount>
  <budgetAccountId>1</budgetAccountId>
  <budgetAccountSubId>1</budgetAccountSubId>
  <budgetAccountSubName>sample string 7</budgetAccountSubName>
  <createdBy>1</createdBy>
  <dateCreated>2024-09-19T11:05:50.2923461-07:00</dateCreated>
  <documentTypeId>1</documentTypeId>
  <expenseCategoryId>1</expenseCategoryId>
  <expenseRegisterId>1</expenseRegisterId>
  <fileData>QEA=</fileData>
  <fileExtention>sample string 14</fileExtention>
  <fileLink>sample string 15</fileLink>
  <fileName>sample string 12</fileName>
  <fileType>sample string 13</fileType>
  <financialYearId>1</financialYearId>
  <financialYearName>sample string 6</financialYearName>
  <isTaxApply>true</isTaxApply>
  <naration>sample string 3</naration>
  <paymentAccountId>1</paymentAccountId>
  <paymentAccountName>sample string 9</paymentAccountName>
  <paymentChannelId>1</paymentChannelId>
  <paymentChannelName>sample string 8</paymentChannelName>
  <receivingAccountId>1</receivingAccountId>
  <receivingAccountName>sample string 10</receivingAccountName>
  <referenceNumber>sample string 4</referenceNumber>
  <targetId>1</targetId>
  <taxAmount>2</taxAmount>
  <taxId>1</taxId>
  <tenantId>1</tenantId>
  <transactionDate>2024-09-19T11:05:50.2923461-07:00</transactionDate>
  <vendorId>1</vendorId>
  <vendorName>sample string 16</vendorName>
</Finance_ExpenseRegisterVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.