POST api/AddAttachments
Request Information
URI Parameters
None.
Body Parameters
AttachDocumentInputName | Description | Type | Additional information |
---|---|---|---|
AttachmentName | string |
Required |
|
Description | string |
None. |
|
Base64FileData | string |
Required |
|
ParentDocumentID | integer |
None. |
|
Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AttachmentName": "sample string 1", "Description": "sample string 2", "Base64FileData": "sample string 3", "ParentDocumentID": 4, "Password": "sample string 5" }
application/xml, text/xml
Sample:
<AttachDocumentInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AttachmentName>sample string 1</AttachmentName> <Description>sample string 2</Description> <Base64FileData>sample string 3</Base64FileData> <ParentDocumentID>4</ParentDocumentID> <Password>sample string 5</Password> </AttachDocumentInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnObjectOfStringName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Messages | Collection of string |
None. |
|
ErrorCode | integer |
None. |
|
Response | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Messages": [ "sample string 1", "sample string 2" ], "ErrorCode": 2, "Response": "sample string 3" }
application/xml, text/xml
Sample:
<ReturnObjectOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IsSuccess>true</IsSuccess> <Messages> <string>sample string 1</string> <string>sample string 2</string> </Messages> <ErrorCode>2</ErrorCode> <Response>sample string 3</Response> </ReturnObjectOfString>