POST api/project/uploadbanner
To upload document
Request Information
URI Parameters
None.
Body Parameters
Bannersupportdocument| Name | description | Type | Additional information |
|---|---|---|---|
| DocumentID | globally unique identifier |
None. |
|
| DocumentType | string |
None. |
|
| FileName | string |
None. |
|
| DocumentData | Collection of byte |
None. |
|
| MIMEType | string |
None. |
|
| CityID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CityID": 5,
"DocumentData": [
64,
64
],
"DocumentID": "301d95e3-b2ca-442e-987b-b29c0029344e",
"DocumentType": "sample string 2",
"FileName": "sample string 3",
"MIMEType": "sample string 4"
}
application/xml, text/xml
Sample:
<Bannersupportdocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Project"> <CityID>5</CityID> <DocumentData>QEA=</DocumentData> <DocumentID>301d95e3-b2ca-442e-987b-b29c0029344e</DocumentID> <DocumentType>sample string 2</DocumentType> <FileName>sample string 3</FileName> <MIMEType>sample string 4</MIMEType> </Bannersupportdocument>
response Information
Resource description
ApiResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
Required |
|
| failure | MlError |
None. |
|
| success | MlSuccess |
None. |