Coding service-layer APIs

The scenarios in this section describe how to write service-layer APIs, which may be called from other code such as: