GET api/communication/settings/attachment?communicationType={communicationType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
communicationType | string |
Required |
Body Parameters
None.
Response Information
Resource Description
WebMethodResultOfAttachmentName | Description | Type | Additional information |
---|---|---|---|
Result | Attachment |
None. |
|
Success | boolean |
None. |
|
ErrorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "AllowedFileTypes": [ "sample string 1", "sample string 2" ], "MaxBytes": 1 }, "Success": true, "ErrorText": "sample string 2" }
application/javascript
Sample:
{"Result":{"AllowedFileTypes":["sample string 1","sample string 2"],"MaxBytes":1},"Success":true,"ErrorText":"sample string 2"}
application/xml, text/xml
Sample:
<WebMethodResultOfAttachment xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Success>true</Success> <ErrorText>sample string 2</ErrorText> <Result> <AllowedFileTypes> <string>sample string 1</string> <string>sample string 2</string> </AllowedFileTypes> <MaxBytes>1</MaxBytes> </Result> </WebMethodResultOfAttachment>