def _get_api_call(self): url_path = \ CONTACTS_API_SCRIPT_NAME + '/properties/' + self._property.name property_data = format_data_for_property(self._property) api_call = APICall( url_path, 'PUT', request_body_deserialization=property_data, ) return api_call
def _get_api_call(self): request_body_deserialization = { 'name': self._contact_list_name, 'dynamic': False, } api_call = APICall( CONTACTS_API_SCRIPT_NAME + '/lists', 'POST', request_body_deserialization=request_body_deserialization, ) return api_call
def _get_api_call(self): url_path = \ CONTACTS_API_SCRIPT_NAME + '/groups/' + self._property_group.name request_body_deserialization = \ format_request_data_for_property_group(self._property_group) api_call = APICall( url_path, 'PUT', request_body_deserialization=request_body_deserialization, ) return api_call