A REST annotation makes an ABL class or procedure file available as a REST resource.

When you use the Define Service Interface wizard to create a REST service, Developer Studio generates two types of REST annotations:

  • REST main annotation
  • REST detail annotation

Annotations always begin with the @ sign, so that the compiler treats them as comments. Annotations do not affect how your code runs.