Category: APEX REST

objects can’t be passed as arguments to future methods

The reason why objects can’t be passed as arguments to future methods is because the object can change between the time you call the method and the time that it actually executes. Remember, future methods are executed when system resources become available. In this case, the future method may have an old object value when […]

Read more

Apex REST annotations

@RestResource(urlMapping=’/yourUrl’) @HttpDelete @HttpGet @HttpPatch @HttpPost @HttpPut Favorite

Read more