Example of a write operation using the Analytics Management API