POST api/DocumentUpload

Request Information

URI Parameters

None.

Body Parameters

t_ClaimDocsDTO
NameDescriptionTypeAdditional information
intdocId

integer

Required

intClaimId

integer

Required

intExpenseId

integer

Required

intEmpid

integer

Required

vcFile

string

Required

fileDetails

string

Required

fileType

string

Required

dtCreatedOn

date

Required

intclaimtype

integer

Required

claimweek

string

Required

Petty_Cash

string

Required

RootPath

string

Required

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "intdocId": 1,
  "intClaimId": 2,
  "intExpenseId": 3,
  "intEmpid": 4,
  "vcFile": "sample string 5",
  "fileDetails": "sample string 6",
  "fileType": "sample string 7",
  "dtCreatedOn": "2021-11-27T14:46:10.0959667+05:30",
  "intclaimtype": 8,
  "claimweek": "sample string 9",
  "Petty_Cash": "sample string 10",
  "RootPath": "sample string 11",
  "Domain": "sample string 12"
}

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

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": {}
}