Delete one favorite charge account

delete

/fscmRestApi/resources/11.13.18.05/requisitionPreferences/{requisitionPreferencesUniqID}/child/favoriteChargeAccounts/{UserPreferenceAccountId}

Request

Path Parameters
  • Value that uniquely identifies the favorite charge account in the requisition preferences.
  • This is the hash key of the attributes which make up the composite key for the Requisition Preferences resource and used to uniquely identify an instance of Requisition Preferences. The client should not generate the hash key value. Instead, the client should query on the Requisition Preferences collection resource in order to navigate to a specific instance of Requisition Preferences to get the hash key.
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 favorite charge account.

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/requisitionPreferences/requisitionPreferencesUniqID/child/favoriteChargeAccounts/UserPreferenceAccountId"

For example, the following command deletes one favorite charge account for requisition preference identifier 300100566517991 with favorite charge account identifier 300100566517994:

curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/requisitionPreferences/300100566517991/child/favoriteChargeAccounts/300100566517994"
Back to Top