Remove an attachment

delete

/fscmRestApi/resources/11.13.18.05/qualityIssues/{IssueId}/child/Attachments/{AttachmentsUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Attachments resource and used to uniquely identify an instance of Attachments. The client should not generate the hash key value. Instead, the client should query on the Attachments collection resource in order to navigate to a specific instance of Attachments to get the hash key.
  • Value that uniquely identifies the quality issue.
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Default Response

No Content. This task does not return elements in the response body.
Back to Top

Examples

This example describes how to delete one attachment in one quality issue.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/qualityIssues/IssueId/child/Attachments/AttachedDocumentId"

For example, the following command deletes attachment 00020000000EACED00057708000110F07F4C76F60000000EACED00057708000110F07F4C76F5 in quality issue 300100111060019:

curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/qualityIssues/300100111060019/child/Attachments/00020000000EACED00057708000110F07F4C76F60000000EACED00057708000110F07F4C76F5"
Back to Top