def create_schedule(key, domain, **kwargs): return post(key, domain, 'api/v1/schedules', **kwargs)
def create_user(key, domain, name, email, requester_id, **kwargs): data = copy.copy(kwargs) data['name'] = name data['email'] = email data['requester_id'] = requester_id return post(key, domain, 'api/v1/users', **data)
def create_service(key, domain, **kwargs): return post(key, domain, 'api/v1/services', **kwargs)
def create_escalation(key, domain, **kwargs): return post(key, domain, 'api/v1/escalation_policies', **kwargs)
def create_maintenance_window(key, domain, **kwargs): return post(key, domain, 'api/v1/maintenance_windows', **kwargs)