Upload an attachment for a support case
POST /ipa/support/case/{caseNumber}/upload
Uploads an attachment file to a support case.
Token usage: Both a NetApp Console user token and service token. The service token needs to include one of the following scopes: 'occm-access', 'ipa-internal'.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
caseNumber |
string |
path |
True |
|
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
nssKeyId |
string |
True |
|
accountId |
string |
True |
|
fileName |
string |
True |
Case attachment file |
fileDescription |
string |
True |
Case attachment file description |
Example request
{
"nssKeyId": "string",
"accountId": "string",
"fileName": "string",
"fileDescription": "string"
}
Response
Status: 200, Default Response
| Name | Type | Required | Description |
|---|---|---|---|
uploadStatus |
string |
False |
|
fileName |
string |
False |
Example response
{
"uploadStatus": "string",
"fileName": "string"
}
Response
Status: 4xx, Error response
| Name | Type | Required | Description |
|---|---|---|---|
error |
string |
False |
Error code/category |
message |
string |
False |
Error description message |
Example response
{
"error": "string",
"message": "string"
}