Deleted Data
  • 20 Jun 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Deleted Data

  • Dark
    Light
  • PDF

Article summary

Deleted Data

The API can identify that data has been deleted. Should a request be sent to the API querying such deleted details, the API will respond with 400 Bad Request, and a message will inform that the data had earlier been deleted.

This is typically useful when requesting an activity or project by its GUID.

A GUID is an acronyom that stands for Globally Unique Identifier, they are also referred to as UUIDs or Universaly Unique Identifiers - there is no real difference between the two. Technically they are 128-bit unique reference numbers used in computing which are highly unlikely to repeat when generated despite there being no central GUID authority to ensure uniqueness.

A GUID follows a specific structure defined in RFC 4122 and come in a few different versions and variants. All variants follow the same structure xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx where M represents the version and the most significant bits of N represent the variant.



Call example

http://server/v1/activities/?item_guid=00000000-DEAD-BEEF-0000-00DEADBEEF00


Response details

{
    "Message": "Activity with the specified Item Guid: '00000000-dead-beef-0000-00deadbeef00' has been deleted"
}



Was this article helpful?

What's Next