POST api/File
Request Information
URI Parameters
None.
Body Parameters
PdfData| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
Response Information
Resource Description
ReturnDataToReplace| Name | Description | Type | Additional 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>