POST api/v1/finance_DocumentUpload

Request Information

URI Parameters

None.

Body Parameters

Finance_DocumentUploadVM
NameDescriptionTypeAdditional information
documentId

integer

None.

documentTypeId

integer

None.

fileName

string

None.

fileType

string

None.

fileExtention

string

None.

fileLink

string

None.

fileData

Collection of byte

None.

targetId

integer

None.

description

string

None.

tenantId

integer

None.

dateCreated

date

None.

expenseRegisterId

integer

None.

referenceNumber

string

None.

dateAdmitted

date

None.

createdBy

integer

None.

transactionRef

string

None.

depositorName

string

None.

postingReferenceNumber

string

None.

linkedId

string

None.

studentTypeId

integer

None.

studentId

integer

None.

academicSessionId

integer

None.

paymentTypeId

integer

None.

paymentChannelId

integer

None.

paidAmount

decimal number

None.

transactionDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "documentId": 1,
  "documentTypeId": 1,
  "fileName": "sample string 2",
  "fileType": "sample string 3",
  "fileExtention": "sample string 4",
  "fileLink": "sample string 5",
  "fileData": "QEA=",
  "targetId": 1,
  "description": "sample string 6",
  "tenantId": 1,
  "dateCreated": "2024-09-19T09:39:52.5265984-07:00",
  "expenseRegisterId": 1,
  "referenceNumber": "sample string 7",
  "dateAdmitted": "2024-09-19T09:39:52.5265984-07:00",
  "createdBy": 8,
  "transactionRef": "sample string 9",
  "depositorName": "sample string 10",
  "postingReferenceNumber": "sample string 11",
  "linkedId": "sample string 12",
  "studentTypeId": 1,
  "studentId": 1,
  "academicSessionId": 1,
  "paymentTypeId": 1,
  "paymentChannelId": 1,
  "paidAmount": 1.0,
  "transactionDate": "2024-09-19T09:39:52.5265984-07:00"
}

application/xml, text/xml

Sample:
<Finance_DocumentUploadVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <academicSessionId>1</academicSessionId>
  <createdBy>8</createdBy>
  <dateAdmitted>2024-09-19T09:39:52.5265984-07:00</dateAdmitted>
  <dateCreated>2024-09-19T09:39:52.5265984-07:00</dateCreated>
  <depositorName>sample string 10</depositorName>
  <description>sample string 6</description>
  <documentId>1</documentId>
  <documentTypeId>1</documentTypeId>
  <expenseRegisterId>1</expenseRegisterId>
  <fileData>QEA=</fileData>
  <fileExtention>sample string 4</fileExtention>
  <fileLink>sample string 5</fileLink>
  <fileName>sample string 2</fileName>
  <fileType>sample string 3</fileType>
  <linkedId>sample string 12</linkedId>
  <paidAmount>1</paidAmount>
  <paymentChannelId>1</paymentChannelId>
  <paymentTypeId>1</paymentTypeId>
  <postingReferenceNumber>sample string 11</postingReferenceNumber>
  <referenceNumber>sample string 7</referenceNumber>
  <studentId>1</studentId>
  <studentTypeId>1</studentTypeId>
  <targetId>1</targetId>
  <tenantId>1</tenantId>
  <transactionDate>2024-09-19T09:39:52.5265984-07:00</transactionDate>
  <transactionRef>sample string 9</transactionRef>
</Finance_DocumentUploadVM>

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.