POST uploadmerchantdocument

Request Information

URI Parameters

None.

Body Parameters

vendordocument
NameDescriptionTypeAdditional information
id

integer

None.

datecreated

date

None.

lastmodified

date

None.

filename

string

None.

filetype

string

None.

file

string

None.

merchantid

integer

None.

userid

string

None.

documenttype

integer

None.

approved

boolean

None.

FileSize

integer

None.

IsUploaded

boolean

None.

documentdescription

string

None.

Verified

boolean

None.

VerifiedBy

string

None.

VerificationDate

date

None.

VerificationNotes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "datecreated": "2026-03-26T03:51:48.9164514+02:00",
  "lastmodified": "2026-03-26T03:51:48.9164514+02:00",
  "filename": "sample string 4",
  "filetype": "sample string 5",
  "file": "sample string 6",
  "merchantid": 1,
  "userid": "sample string 7",
  "documenttype": 8,
  "approved": true,
  "FileSize": 10,
  "IsUploaded": true,
  "documentdescription": "sample string 12",
  "Verified": true,
  "VerifiedBy": "sample string 13",
  "VerificationDate": "2026-03-26T03:51:48.9164514+02:00",
  "VerificationNotes": "sample string 14"
}

application/xml, text/xml

Sample:
<vendordocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCareAPI.Database">
  <FileSize>10</FileSize>
  <IsUploaded>true</IsUploaded>
  <VerificationDate>2026-03-26T03:51:48.9164514+02:00</VerificationDate>
  <VerificationNotes>sample string 14</VerificationNotes>
  <Verified>true</Verified>
  <VerifiedBy>sample string 13</VerifiedBy>
  <approved>true</approved>
  <datecreated>2026-03-26T03:51:48.9164514+02:00</datecreated>
  <documentdescription>sample string 12</documentdescription>
  <documenttype>8</documenttype>
  <file>sample string 6</file>
  <filename>sample string 4</filename>
  <filetype>sample string 5</filetype>
  <id>1</id>
  <lastmodified>2026-03-26T03:51:48.9164514+02:00</lastmodified>
  <merchantid>1</merchantid>
  <userid>sample string 7</userid>
</vendordocument>

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

Response Information

Resource Description

FundingDocumentResultModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<FundingDocumentResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UCareAPI.Models">
  <Data />
  <Message>sample string 2</Message>
  <Success>true</Success>
</FundingDocumentResultModel>