Read a DeletedPerson

Retrieves the specified DeletedPerson object from the database

With this method, you send a request to the server to retrieve a particular DeletedPerson object specified by its ID.

If the DeletedPerson object is successfully retrieved, the server sends HTTP response code 200. Any other code indicates an error.

Request

URI: /DeletedPersons('<businessPartnerID>')

HTTP Method: GET

Permissions: <bp>.pd

Request Header Fields

Name Required Description
If-Match No Check if cached version matches server version of the person

Request Parameters

Parameter Required Data Type Description Parameter Type
businessPartnerID Yes string Technical ID of the DeletedPerson object Path

Request Example

/DeletedPersons('84c8c41dcf8e4e139ce03d337ee14f8a')

Response

Format

Format: JSON

Response Status and Error Codes

Code Reason
200 DeletedPerson retrieved successfully

Payload

Format: JSON

Only media type JSON is supported. The JSON for this method has the following structure:

{"basicData" : {
   "businessPartnerID": { "type": "string", "maxLength": 32 },
   "tenant"           : { "type": "string", "maxLength": 36 },
   "etag"             : { "type": "string" }
 },
 "personName": {
  "formOfAddress"           : { "type": "string", "maxLength": 10 },
  "formOfAddressDescription": { "type": "string", "maxLength": 30, "readOnly" : true },
   "familyName"      : { "type": "string", "maxLength": 255, "required": true },
   "additionalFamilyName": { "type": "string", "maxLength": 255 },
   "familyNamePrefix": { "type": "string", "maxLength": 10 },
   "middleName": { "type": "string", "maxLength": 255 },
   "givenName": { "type": "string", "maxLength": 255, "required": true },
   "initials": { "type": "string", "maxLength": 10 },
   "academicTitle": { "type": "string", "maxLength": 4 },
   "academicTitleDescription": { "type": "string", "maxLength": 60, "readOnly" : true },
   "additionalAcademicTitle": { "type": "string", "maxLength": 4 },
   "additionalAcademicTitleDescription" : { "type": "string", "maxLength": 60, "readOnly" : true }
},
"communicationData" : {
 "emailAddress": { "type": "string", "maxLength": 255, "required": true },
 "mobileDestinationLocation": { "type": "string", "maxLength": 2 },
 "mobilePhoneNumber": { "type": "string", "maxLength": 127 },
 "landlineDestinationLocation": { "type": "string", "maxLength": 2 },
 "landlinePhoneNumber": { "type": "string", "maxLength": 127 },
 "landlinePhoneNumberExtension": { "type": "string", "maxLength": 127 },
 "streetName": { "type": "string", "maxLength": 255 },
 "houseNumber": { "type": "string", "maxLength": 10 },
 "cityName": { "type": "string", "maxLength": 255 },
 "postalCode": { "type": "string", "maxLength": 10 },
 "country": { "type": "string", "maxLength": 2 },
 "countryDescription": { "type": "string", "maxLength": 60, "readOnly" : true },
 "region": { "type": "string", "maxLength": 3 },
 "regionDescription": { "type": "string", "maxLength": 60, "readOnly" : true }
},
"objectGroup"         : { "type": "string", "maxLength": 32 }
}