Upload an attachment for a support case
Contributors
Suggest changes
POST /ipa/support/case/{caseNumber}/upload
Upload an attachment file to a support case.
Token usage: Both a BlueXP user token and service token. The service token needs to include the following scopes: %scopes%. Pass the user token in the %userTokenHeader% request header and the service token in the %serviceTokenHeader% request header.
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"
}