Delete one restriction
/fscmRestApi/resources/11.13.18.05/supplierNegotiations/{supplierNegotiationsUniqID}/child/suppliers/{SupplierInvitationId}/child/supplierLineAccessRestrictions/{LineId}
Request
-
LineId(required): number
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
SupplierInvitationId(required): integer(int64)
Value that uniquely identifies the supplier invited to the negotiation.
-
supplierNegotiationsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Supplier Negotiations resource and used to uniquely identify an instance of Supplier Negotiations. The client should not generate the hash key value. Instead, the client should query on the Supplier Negotiations collection resource in order to navigate to a specific instance of Supplier Negotiations to get the hash key.
-
Metadata-Context:
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".
-
REST-Framework-Version:
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 TopResponse
Default Response
Examples
This example describes how to delete a restriction.
Example 1 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/supplierNegotiations/supplierNegotiationsUniqID/child/suppliers/SupplierInvitationId/child/supplierLineAccessRestrictions/LineId"
For example, the following command deletes a restriction:
curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/supplierNegotiations/ 300100195048752/child/suppliers/10/child/supplierLineAccessRestrictions/3"
Example 2 cURL Command
Use the following cURL command to submit a request on the REST resource to delete multiple line access restrictions for a supplier:
curl -u username:password -X POST -H "Content-Type: application/vnd.oracle.adf.batch+json" ?d 'request payload' "https://servername/fscmRestApi/resources/version"
Example 2 Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body.
Path: /supplierNegotiations/{AuctionHeaderId}/child/suppliers/ {SupplierInvitationId}/child/supplierLineAccessRestrictions/{LineId} { "parts": [ { "id": "part1", "path": "/supplierNegotiations/300100194925269/child/suppliers/40/child/supplierLineAccessRestrictions/1", "operation":"delete" }, { "id": "part2", "path": "/supplierNegotiations/300100194925269/child/suppliers/40/child/supplierLineAccessRestrictions/2", "operation": "delete" } ] }
Example 2 Response Body
The following example includes the contents of the response body in JSON format:
{ "parts": [ { "id": "part1", "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100194925269/child/suppliers/40/child/supplierLineAccessRestrictions/1", "operation": "delete", "payload": null }, { "id": "part2", "path": "https://servername/fscmRestApi/resources/version/supplierNegotiations/300100194925269/child/suppliers/40/child/supplierLineAccessRestrictions/2", "operation": "delete", "payload": null } ] }