Delete an attachment for a project contract invoice

delete

/fscmRestApi/resources/11.13.18.05/projectContractInvoices/{InvoiceId}/child/Attachments/{AttachmentsUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Project Contract Invoices Attachments resource and used to uniquely identify an instance of Project Contract Invoices Attachments. The client should not generate the hash key value. Instead, the client should query on the Project Contract Invoices Attachments collection resource in order to navigate to a specific instance of Project Contract Invoices Attachments to get the hash key.
  • Unique identifier of the invoice.
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

Example

The following example shows how to delete an attachment for a project contract invoice by submitting a POST request on the REST resource using cURL.

curl --user ppm_cloud_user -X DELETE -d @example_request_payload.json "https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectContractInvoices/<InvoiceId>/child/Attachments/AttachmentUniqueHashCode" -H 'cache-control: no-cache'
Back to Top