POST api/project/uploaddoc

To upload document

Request Information

URI Parameters

None.

Body Parameters

supportdocuments
NamedescriptionTypeAdditional information
DocumentID

globally unique identifier

None.

GalleryID

globally unique identifier

None.

DocumentType

string

None.

FileName

string

None.

DocumentData

Collection of byte

None.

MIMEType

string

None.

projectid

integer

None.

Title

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 8",
  "DocumentData": [
    64,
    64
  ],
  "DocumentID": "a2631996-4596-4271-813b-b4a33759756e",
  "DocumentType": "sample string 3",
  "FileName": "sample string 4",
  "GalleryID": "ef5e00de-be96-4b71-8e64-81fa25bae3d5",
  "MIMEType": "sample string 5",
  "Title": "sample string 7",
  "projectid": 6
}

application/xml, text/xml

Sample:
<supportdocuments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Project">
  <Description>sample string 8</Description>
  <DocumentData>QEA=</DocumentData>
  <DocumentID>a2631996-4596-4271-813b-b4a33759756e</DocumentID>
  <DocumentType>sample string 3</DocumentType>
  <FileName>sample string 4</FileName>
  <GalleryID>ef5e00de-be96-4b71-8e64-81fa25bae3d5</GalleryID>
  <MIMEType>sample string 5</MIMEType>
  <Title>sample string 7</Title>
  <projectid>6</projectid>
</supportdocuments>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.