POST api/File

Request Information

URI Parameters

None.

Body Parameters

PdfData
NameDescriptionTypeAdditional information
PDF

string

None.

PdfName

string

None.

AuftragNr

string

None.

IDBerater

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PDF": "sample string 1",
  "PdfName": "sample string 2",
  "AuftragNr": "sample string 3",
  "IDBerater": 4
}

application/xml, text/xml

Sample:
<PdfData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lieferanten_DB.Controllers">
  <AuftragNr>sample string 3</AuftragNr>
  <IDBerater>4</IDBerater>
  <PDF>sample string 1</PDF>
  <PdfName>sample string 2</PdfName>
</PdfData>

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

Response Information

Resource Description

ReturnDataToReplace
NameDescriptionTypeAdditional information
statusText

string

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "statusText": "sample string 1",
  "success": true
}

application/xml, text/xml

Sample:
<ReturnDataToReplace xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lieferanten_DB.Controllers">
  <statusText>sample string 1</statusText>
  <success>true</success>
</ReturnDataToReplace>