POST api/Invoice/DocumentUpload

Request Information

URI Parameters

None.

Body Parameters

t_InvoiceDocsDTO
NameDescriptionTypeAdditional information
intInvoiceDocId

integer

Required

intVendorID

integer

Required

intPOID

integer

Required

intInvoiceID

integer

Required

vcFile

string

Required

fileDetails

string

Required

fileType

string

Required

dtCreatedOn

date

Required

RootPath

string

Required

vcDocName

string

None.

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "intInvoiceDocId": 1,
  "intVendorID": 2,
  "intPOID": 3,
  "intInvoiceID": 4,
  "vcFile": "sample string 5",
  "fileDetails": "sample string 6",
  "fileType": "sample string 7",
  "dtCreatedOn": "2021-11-27T13:51:09.919154+05:30",
  "RootPath": "sample string 8",
  "vcDocName": "sample string 9",
  "Domain": "sample string 10"
}

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

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}