mc_issue_attachment_add [line 38]
integer mc_issue_attachment_add(
string $p_username, string $p_password, integer $p_issue_id, string $p_name, string $p_file_type, base64Binary $p_content
)
|
|
Add an attachment to an existing issue.
Parameters:
|
string |
$p_username: |
The name of the user trying to add an attachment to an issue. |
|
string |
$p_password: |
The password of the user. |
|
integer |
$p_issue_id: |
The id of the issue to add the attachment to. |
|
string |
$p_name: |
The name of the file. |
|
string |
$p_file_type: |
The mime type of the file. |
|
base64Binary |
$p_content: |
The attachment to add. |
API Tags:
| Return: | The id of the added attachment. |
mc_issue_attachment_delete [line 60]
true: mc_issue_attachment_delete(
string $p_username, string $p_password, integer $p_issue_attachment_id
)
|
|
Delete an issue attachment given its id.
Parameters:
|
string |
$p_username: |
The name of the user trying to add an attachment to an issue. |
|
string |
$p_password: |
The password of the user. |
|
integer |
$p_issue_attachment_id: |
The id of the attachment to be deleted. |
API Tags:
| Return: | success, false: failure |
mc_issue_attachment_get [line 19]
Base64 mc_issue_attachment_get(
string $p_username, string $p_password, $p_issue_attachment_id, integer $p_attachment_id
)
|
|
Get the issue attachment with the specified id.
Parameters:
|
string |
$p_username: |
The name of the user trying to access the filters. |
|
string |
$p_password: |
The password of the user. |
|
integer |
$p_attachment_id: |
The id of the attachment to be retrieved. |
|
|
$p_issue_attachment_id: |
|
API Tags:
| Return: | encoded data that represents the attachment. |