function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TheBombTheBomb 

Full case ID in custom URL

I want to pass out the full case ID in a custom URL so that I can refer back to the object through the SOAP interface. However, when I use {!Case_ID} I do not get the full case ID passed in the URL, for example I get passed:

http://...&case_id=50030000001QCG1

yet the same object accessed through SOAP is:

stdClass Object
(
[type] => Case
[CaseNumber] => 00001027
[Id] => 50030000001QCG1AAO
[Status] => New
)

The last three characters do not seem to be regular as I see AAO AAW AAK in the few cases I have in my test database!

How do I get the full case ID passed in the URL? or is there a was to determine these last three characters?
SuperfellSuperfell
The Ids are equivilent (one is case sesnsitive, one is not), you can use the 15 char version directly in the API if you need to. See all the 15 vs 18 char Id posts.