Build API requests from XML resources.