If you are new to web service interfaces, first review HTTP Response Structure for an overview of what information you can typically find in an HTTP response.
Example: Queried a web service
use sample json response
conditional logic to handle status codes and parse response
queue successful payload for downstream processing
parse error messages
retry or log errors?