Delete a DeletedBPRelationship

With this method, you physically delete a relationship with the specified ID.

Although "deleting a deleted relationship" may sound strange at first glance, this is exactly the purpose of this method. The DeletedBPRelationship concept represents a relationship between bussiness partners that has played an active part in the system in the past, but has been logically deleted. As opposed to the logical deletion of a BPRelationship object, deleting a DeletedBPRelationship object means:

  • explicit physical deletion of the DeletedBPRelationship object, and

  • implicit physical deletion of the BPRelationship object that is represented by the corresponding DeletedBPRelationship object

In other words, deleting a DeletedBPRelationship object is the ultimate and irreversible way of removing all information about a particular relationship from the system.

Request

URI: /DeletedBPRelationships('<relationshipID>')

HTTP Method: DELETE

Permissions: <bp>.pd

Request Header Fields

Name Required Description
X-CSRF-Token Yes Cross-site request forgery token
If-Match Yes Check if cached version matches server version of the DeletedBPRelationship object

Request Parameters

Parameter Required Data Type Description Parameter Type
relationshipID Yes string technical ID of the DeletedBPRelationship object Path

Request Example

/DeletedBPRelationships('9828317b1aee41e391aeb5cdd3b4fb6d')

Response

Response Status and Error Codes

Code Reason
204 DeletedBPRelationship deleted successfully