POST api/dokument/base64

Request Information

URI Parameters

None.

Body Parameters

FileModel
NameDescriptionTypeAdditional information
MimeType

string

Required

Value

string

Required

FileName

string

Required

Key

integer

None.

Description

string

None.

DocumentType

DokumentTyp

None.

DocType

IADocType

None.

DhType

DhTyp

None.

Request Formats

application/json, text/json

Sample:
{
  "MimeType": "sample string 1",
  "Value": "sample string 2",
  "FileName": "sample string 3",
  "Key": 4,
  "Description": "sample string 5",
  "DocumentType": 3,
  "DocType": 0,
  "DhType": 1
}

text/html

Sample:
{"MimeType":"sample string 1","Value":"sample string 2","FileName":"sample string 3","Key":4,"Description":"sample string 5","DocumentType":3,"DocType":0,"DhType":1}

application/xml, text/xml

Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StarJob.Controllers.Documents.Models">
  <Description>sample string 5</Description>
  <DhType>Adressen</DhType>
  <DocType>ProfilePicture</DocType>
  <DocumentType>Lebenslauf</DocumentType>
  <FileName>sample string 3</FileName>
  <Key>4</Key>
  <MimeType>sample string 1</MimeType>
  <Value>sample string 2</Value>
</FileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.