POST api/project/uploaddoc
To upload document
Request Information
URI Parameters
None.
Body Parameters
supportdocuments| Name | description | Type | Additional 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": "089eefde-d2f4-4ddf-95b1-164366792546",
"DocumentType": "sample string 3",
"FileName": "sample string 4",
"GalleryID": "8715dd2b-1c0e-4b37-9f49-625c7c56404f",
"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>089eefde-d2f4-4ddf-95b1-164366792546</DocumentID> <DocumentType>sample string 3</DocumentType> <FileName>sample string 4</FileName> <GalleryID>8715dd2b-1c0e-4b37-9f49-625c7c56404f</GalleryID> <MIMEType>sample string 5</MIMEType> <Title>sample string 7</Title> <projectid>6</projectid> </supportdocuments>
response Information
Resource description
ApiResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
Required |
|
| failure | MlError |
None. |
|
| success | MlSuccess |
None. |