uuid
When using the old webhooks you might receive resource ids as numeric ids.If you need any of those ids in one of our new queries or mutations, you can usethis query to retrieve the uuid corresponding to that resource/entity numeric id
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
legacy_id | Int! | Yes | ||
entity | EntityType! | Yes | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query uuid(
$legacy_id: Int!,
$entity: EntityType!,
$analyze: Boolean
) {
uuid(
legacy_id: $legacy_id,
entity: $entity,
analyze: $analyze
) {
request_id
complexity
data {
legacy_id
id
}
}
}Variables
{
"legacy_id": 987,
"entity": "Account",
"analyze": true
}Response
{
"data": {
"uuid": {
"request_id": "abc123",
"complexity": 987,
"data": LegacyId
}
}
}